From fd4f5c23650799a7e76e193614bf82454b375fe3 Mon Sep 17 00:00:00 2001 From: John Howard Date: Wed, 29 Jun 2016 16:10:57 -0700 Subject: [PATCH] Windows: Ensure VolumePath is not set for Hyper-V containers Signed-off-by: John Howard --- libcontainerd/client_windows.go | 1 + 1 file changed, 1 insertion(+) diff --git a/libcontainerd/client_windows.go b/libcontainerd/client_windows.go index 04ed4d85d1..365dfc99d2 100644 --- a/libcontainerd/client_windows.go +++ b/libcontainerd/client_windows.go @@ -81,6 +81,7 @@ func (clnt *client) Create(containerID string, spec Spec, options ...CreateOptio } if spec.Windows.HvRuntime != nil { + configuration.VolumePath = "" // Always empty for Hyper-V containers configuration.HvPartition = true configuration.HvRuntime = &hcsshim.HvRuntime{ ImagePath: spec.Windows.HvRuntime.ImagePath,