setup_windows.go 541 B

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