mirror of
https://github.com/docker/cli.git
synced 2026-09-24 07:25:07 -05:00
LCOW: Move daemon stores to per platform
Signed-off-by: John Howard <jhoward@microsoft.com> Upstream-commit: 3aa4a0071536d3b106374eaa44d8a55765901aa6 Component: engine
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package register
|
||||
|
||||
import (
|
||||
// register the windows graph driver
|
||||
// register the windows graph drivers
|
||||
_ "github.com/docker/docker/daemon/graphdriver/lcow"
|
||||
_ "github.com/docker/docker/daemon/graphdriver/windows"
|
||||
)
|
||||
|
||||
@@ -94,6 +94,10 @@ func InitFilter(home string, options []string, uidMaps, gidMaps []idtools.IDMap)
|
||||
return nil, fmt.Errorf("%s is on an ReFS volume - ReFS volumes are not supported", home)
|
||||
}
|
||||
|
||||
if err := idtools.MkdirAllAs(home, 0700, 0, 0); err != nil {
|
||||
return nil, fmt.Errorf("windowsfilter failed to create '%s': %v", home, err)
|
||||
}
|
||||
|
||||
d := &Driver{
|
||||
info: hcsshim.DriverInfo{
|
||||
HomeDir: home,
|
||||
|
||||
Reference in New Issue
Block a user