| #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