Skip to content

Instantly share code, notes, and snippets.

@joshwget
Created December 21, 2016 00:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshwget/535a51a7e494241ce6a807981de3f37e to your computer and use it in GitHub Desktop.
Save joshwget/535a51a7e494241ce6a807981de3f37e to your computer and use it in GitHub Desktop.
docker:
image: <image with custom Docker binaries>
command: /usr/bin/user-docker
environment:
- HTTP_PROXY
- HTTPS_PROXY
- NO_PROXY
labels:
io.rancher.os.scope: system
io.rancher.os.after: console
net: host
pid: host
ipc: host
uts: host
privileged: true
restart: always
volumes_from:
- all-volumes
volumes:
- /sys:/host/sys
- /var/lib/system-docker:/var/lib/system-docker:shared
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment