setup_windows.go 522 B

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