From 5e4e357f6e53ed9aeb0d4988d8c780acd5da3ed5 Mon Sep 17 00:00:00 2001 From: Darren Stahl Date: Mon, 17 Apr 2017 11:41:07 -0700 Subject: [PATCH] Windows: Do not attempt to clean empty windowsfilter folder Signed-off-by: Darren Stahl --- daemon/graphdriver/windows/windows.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/daemon/graphdriver/windows/windows.go b/daemon/graphdriver/windows/windows.go index 3079cbc531..441621f6eb 100644 --- a/daemon/graphdriver/windows/windows.go +++ b/daemon/graphdriver/windows/windows.go @@ -427,6 +427,9 @@ func (d *Driver) Cleanup() error { items, err := ioutil.ReadDir(d.info.HomeDir) if err != nil { + if os.IsNotExist(err) { + return nil + } return err }