Created
September 2, 2015 13:40
-
-
Save edvinasbartkus/8ed0e61a7c7980c087f1 to your computer and use it in GitHub Desktop.
coreos-cloud-config
This file contains hidden or 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
#cloud-config | |
coreos: | |
etcd: | |
... | |
units: | |
- name: docker-tcp.socket | |
command: start | |
enable: true | |
content: | | |
[Unit] | |
Description=Docker Socket for the API | |
[Socket] | |
ListenStream=0.0.0.0:2375 | |
BindIPv6Only=both | |
Service=docker.service | |
[Install] | |
WantedBy=sockets.target | |
- name: etcd.service | |
command: start | |
- name: fleet.service | |
command: start | |
write_files: | |
- path: /etc/systemd/system/docker.service.d/50-insecure-registry.conf | |
content: | | |
[Service] | |
Environment='DOCKER_OPTS=--insecure-registry="somehost.com:5000"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment