github.com/kaisenlinux/docker.io@v0.0.0-20230510090727-ea55db55fac7/engine/daemon/initlayer/setup_windows.go (about) 1 package initlayer // import "github.com/docker/docker/daemon/initlayer" 2 3 import ( 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. 14 func Setup(initLayer containerfs.ContainerFS, rootIDs idtools.Identity) error { 15 return nil 16 }