Skip to content

Instantly share code, notes, and snippets.

@philips
Created June 11, 2015 02:08
Show Gist options
  • Save philips/d17d75e4348443a46240 to your computer and use it in GitHub Desktop.
Save philips/d17d75e4348443a46240 to your computer and use it in GitHub Desktop.
#cloud-config
coreos:
units:
- name: docker-tcp.socket
command: start
enable: true
content: |
[Unit]
Description=Docker Socket for the API
[Socket]
ListenStream=2375
BindIPv6Only=both
Service=docker.service
[Install]
WantedBy=sockets.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment