update dockerinit, add hosts