From 00e286bc3020dbaaa1cfa12796a873b720fc8d3f Mon Sep 17 00:00:00 2001 From: zatricion Date: Wed, 11 Jan 2017 01:34:42 -0800 Subject: [PATCH] Use overlay2 driver (#166) * Use overlay2 driver From https://docs.docker.com/engine/userguide/storagedriver/selectadriver/#overlay-vs-overlay2, there are serious issues with the overlay driver, and both the kernel and the stable version of docker engine support the newer driver, so it should be the default. * Support multiple DOCKER_OPTS --- src/cloud-init/user-data | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cloud-init/user-data b/src/cloud-init/user-data index 70c433c..fd0acf9 100644 --- a/src/cloud-init/user-data +++ b/src/cloud-init/user-data @@ -123,7 +123,7 @@ coreos: [Unit] Requires=flanneld.service [Service] - Environment=DOCKER_OPTS='--insecure-registry="0.0.0.0/0"' + Environment="DOCKER_OPTS=--insecure-registry=0.0.0.0/0 --storage-driver=overlay2" - name: update-engine.service command: stop - name: kube-certs.service