Skip to content

Instantly share code, notes, and snippets.

@flaccid
Created January 20, 2016 22:38
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 flaccid/ad677eb9744cec22fb36 to your computer and use it in GitHub Desktop.
Save flaccid/ad677eb9744cec22fb36 to your computer and use it in GitHub Desktop.
vol issue with placement
my-service:
environment:
TZ: Australia/Melbourne
labels:
io.rancher.scheduler.global: 'true'
io.rancher.container.pull_image: always
io.rancher.container.start_once: 'true'
io.rancher.service.hash: 91bdc4dfc7e67786522a3e7aefb2af0f502e14c4
io.rancher.container.network: 'true'
io.rancher.scheduler.affinity:host_label_ne: log_host=true
tty: true
image: registry.foo.bar/foobar:latest
volumes:
- myvol:/myvol/
stdin_open: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment