github.com/demonoid81/moby@v0.0.0-20200517203328-62dd8e17c460/daemon/initlayer/setup_windows.go (about)

     1  package initlayer // import "github.com/demonoid81/moby/daemon/initlayer"
     2  
     3  import (
     4  	"github.com/demonoid81/moby/pkg/containerfs"
     5  	"github.com/demonoid81/moby/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  }