setup_solaris.go 498 B

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