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