container_operations_windows.go 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. // +build windows
  2. package daemon
  3. import (
  4. "github.com/docker/docker/container"
  5. "github.com/docker/libnetwork"
  6. )
  7. func (daemon *Daemon) setupLinkedContainers(container *container.Container) ([]string, error) {
  8. return nil, nil
  9. }
  10. // getSize returns real size & virtual size
  11. func (daemon *Daemon) getSize(container *container.Container) (int64, int64) {
  12. // TODO Windows
  13. return 0, 0
  14. }
  15. func (daemon *Daemon) setupIpcDirs(container *container.Container) error {
  16. return nil
  17. }
  18. // TODO Windows: Fix Post-TP5. This is a hack to allow docker cp to work
  19. // against containers which have volumes. You will still be able to cp
  20. // to somewhere on the container drive, but not to any mounted volumes
  21. // inside the container. Without this fix, docker cp is broken to any
  22. // container which has a volume, regardless of where the file is inside the
  23. // container.
  24. func (daemon *Daemon) mountVolumes(container *container.Container) error {
  25. return nil
  26. }
  27. func detachMounted(path string) error {
  28. return nil
  29. }
  30. func killProcessDirectly(container *container.Container) error {
  31. return nil
  32. }
  33. func isLinkable(child *container.Container) bool {
  34. return false
  35. }
  36. func enableIPOnPredefinedNetwork() bool {
  37. return true
  38. }
  39. func (daemon *Daemon) isNetworkHotPluggable() bool {
  40. return false
  41. }
  42. func setupPathsAndSandboxOptions(container *container.Container, sboxOptions *[]libnetwork.SandboxOption) error {
  43. return nil
  44. }
  45. func initializeNetworkingPaths(container *container.Container, nc *container.Container) {
  46. }