github.com/docker/docker@v299999999.0.0-20200612211812-aaf470eca7b5+incompatible/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  }