Created
October 14, 2015 17:11
-
-
Save carmstrong/4f552b34c17ab208de64 to your computer and use it in GitHub Desktop.
Custom Docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
core@deis-01 ~ $ logout | |
diff --git a/contrib/coreos/user-data.example b/contrib/coreos/user-data.example | |
index 5bb6e0f..48cb009 100644 | |
--- a/contrib/coreos/user-data.example | |
+++ b/contrib/coreos/user-data.example | |
@@ -42,6 +42,23 @@ coreos: | |
command: stop | |
enable: false | |
- name: docker.service | |
+ content: | | |
+ [Unit] | |
+ Description=Docker Application Container Engine | |
+ Documentation=http://docs.docker.com | |
+ After=docker.socket early-docker.target network.target | |
+ Requires=docker.socket early-docker.target | |
+ | |
+ [Service] | |
+ EnvironmentFile=-/run/flannel_docker_opts.env | |
+ MountFlags=slave | |
+ LimitNOFILE=1048576 | |
+ LimitNPROC=1048576 | |
+ ExecStartPre=/usr/bin/sh -c 'curl -sSL https://s3-us-west-2.amazonaws.com/get-deis/docker-1.5.0-coreos -o /opt/bin/docker-v1.5.0 && chmod +x /opt/bin/docker-v1.5.0' | |
+ ExecStart=/opt/bin/docker-v1.5.0 --daemon --host=fd:// $DOCKER_OPTS $DOCKER_OPT_BIP $DOCKER_OPT_MTU $DOCKER_OPT_IPMASQ | |
+ | |
+ [Install] | |
+ WantedBy=multi-user.target | |
drop-ins: | |
- name: 50-insecure-registry.conf | |
content: | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment