summaryrefslogtreecommitdiff
path: root/container/container_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'container/container_windows.go')
-rw-r--r--container/container_windows.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/container/container_windows.go b/container/container_windows.go
index 0ade8461c2..7acc519ec0 100644
--- a/container/container_windows.go
+++ b/container/container_windows.go
@@ -104,13 +104,6 @@ func (container *Container) BuildHostnameFile() error {
return nil
}
-// canMountFS determines if the file system for the container
-// can be mounted locally. In the case of Windows, this is not possible
-// for Hyper-V containers during WORKDIR execution for example.
-func (container *Container) canMountFS() bool {
- return !containertypes.Isolation.IsHyperV(container.HostConfig.Isolation)
-}
-
// EnableServiceDiscoveryOnDefaultNetwork Enable service discovery on default network
func (container *Container) EnableServiceDiscoveryOnDefaultNetwork() bool {
return true