1package initlayer // import "github.com/docker/docker/daemon/initlayer" 2 3import ( 4 "github.com/docker/docker/pkg/containerfs" 5 "github.com/docker/docker/pkg/idtools" 6) 7 8// Setup populates a directory with mountpoints suitable 9// for bind-mounting dockerinit into the container. The mountpoint is simply an 10// empty file at /.dockerinit 11// 12// This extra layer is used by all containers as the top-most ro layer. It protects 13// the container from unwanted side-effects on the rw layer. 14func Setup(initLayer containerfs.ContainerFS, rootIDs idtools.Identity) error { 15 return nil 16} 17