github.com/olljanat/moby@v1.13.1/daemon/initlayer/setup_solaris.go (about)

     1  // +build solaris,cgo
     2  
     3  package initlayer
     4  
     5  // Setup populates a directory with mountpoints suitable
     6  // for bind-mounting dockerinit into the container. The mountpoint is simply an
     7  // empty file at /.dockerinit
     8  //
     9  // This extra layer is used by all containers as the top-most ro layer. It protects
    10  // the container from unwanted side-effects on the rw layer.
    11  func Setup(initLayer string, rootUID, rootGID int) error {
    12  	return nil
    13  }