Change default docker storage driver to overlay2

The "aufs" storage driver has been deprecated,
changed in Docker 17.09 for "overlay2" instead.

See https://github.com/docker/machine/pull/4558

This only affects the "boot2docker" provisioner,
since it is already being used by "buildroot".

Closes #3078
pull/2718/merge
Anders F Björklund 2018-09-08 09:52:14 +02:00 committed by dlorenc
parent 82e991456e
commit 3b97276f70
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ func (api *LocalClient) NewHost(driverName string, rawDriver []byte) (*host.Host
ServerKeyPath: filepath.Join(api.GetMachinesDir(), "server-key.pem"),
},
EngineOptions: &engine.Options{
StorageDriver: "aufs",
StorageDriver: "overlay2",
TLSVerify: true,
},
SwarmOptions: &swarm.Options{},