Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Use overlay2 driver (#166)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
zatricion authored and rimusz committed Jan 11, 2017
1 parent 252b46b commit 00e286b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cloud-init/user-data
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 00e286b

Please sign in to comment.