2015-04-29 18:53:35 -04:00
|
|
|
// +build windows
|
|
|
|
|
|
|
|
package daemon
|
|
|
|
|
2016-10-13 17:51:10 -04:00
|
|
|
import (
|
|
|
|
"github.com/docker/docker/container"
|
|
|
|
"github.com/docker/libnetwork"
|
|
|
|
)
|
2015-04-29 18:53:35 -04:00
|
|
|
|
2015-11-12 14:55:17 -05:00
|
|
|
func (daemon *Daemon) setupLinkedContainers(container *container.Container) ([]string, error) {
|
2015-04-29 18:53:35 -04:00
|
|
|
return nil, nil
|
|
|
|
}
|
|
|
|
|
2015-11-02 20:06:09 -05:00
|
|
|
// getSize returns real size & virtual size
|
2017-02-18 21:11:48 -05:00
|
|
|
func (daemon *Daemon) getSize(containerID string) (int64, int64) {
|
2015-04-29 18:53:35 -04:00
|
|
|
// TODO Windows
|
|
|
|
return 0, 0
|
|
|
|
}
|
|
|
|
|
2015-11-12 14:55:17 -05:00
|
|
|
func (daemon *Daemon) setupIpcDirs(container *container.Container) error {
|
2015-08-03 18:05:34 -04:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-04-06 15:01:29 -04:00
|
|
|
// TODO Windows: Fix Post-TP5. This is a hack to allow docker cp to work
|
2015-11-12 14:55:17 -05:00
|
|
|
// against containers which have volumes. You will still be able to cp
|
|
|
|
// to somewhere on the container drive, but not to any mounted volumes
|
|
|
|
// inside the container. Without this fix, docker cp is broken to any
|
|
|
|
// container which has a volume, regardless of where the file is inside the
|
|
|
|
// container.
|
|
|
|
func (daemon *Daemon) mountVolumes(container *container.Container) error {
|
2015-08-03 18:05:34 -04:00
|
|
|
return nil
|
|
|
|
}
|
2015-09-24 17:59:23 -04:00
|
|
|
|
2015-11-12 14:55:17 -05:00
|
|
|
func detachMounted(path string) error {
|
2015-12-01 13:39:34 -05:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2015-11-12 14:55:17 -05:00
|
|
|
func killProcessDirectly(container *container.Container) error {
|
2015-11-11 16:53:38 -05:00
|
|
|
return nil
|
|
|
|
}
|
2016-03-09 23:33:21 -05:00
|
|
|
|
|
|
|
func isLinkable(child *container.Container) bool {
|
|
|
|
return false
|
|
|
|
}
|
2016-04-20 18:35:11 -04:00
|
|
|
|
|
|
|
func enableIPOnPredefinedNetwork() bool {
|
|
|
|
return true
|
|
|
|
}
|
2016-09-21 15:02:20 -04:00
|
|
|
|
|
|
|
func (daemon *Daemon) isNetworkHotPluggable() bool {
|
|
|
|
return false
|
|
|
|
}
|
2016-10-13 17:51:10 -04:00
|
|
|
|
|
|
|
func setupPathsAndSandboxOptions(container *container.Container, sboxOptions *[]libnetwork.SandboxOption) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func initializeNetworkingPaths(container *container.Container, nc *container.Container) {
|
2017-02-28 23:03:43 -05:00
|
|
|
container.NetworkSharedContainerID = nc.ID
|
2016-10-13 17:51:10 -04:00
|
|
|
}
|