Skip to content

Instantly share code, notes, and snippets.

switch-consoles:
image: {{.OS_REPO}}/os-base:{{.VERSION}}{{.SUFFIX}}
command: switchconsoles
labels:
io.rancher.os.scope: system
io.rancher.os.createonly: "true"
net: host
pid: host
ipc: host
uts: host
#cloud-config
rancher:
network:
interfaces:
eth0:
address: 10.0.2.15/24
gateway: 10.0.2.2
br0:
vlans: 100
eth1:
test-parsing:
image: tianon/true
labels:
io.rancher.os.scope: system
io.rancher.os.createonly: "true"
bool: true
number: 10
environment:
bool: true
number: 10
open-vm-tools:
image: joshwget/open-vm-tools
labels:
io.rancher.os.scope: system
net: host
pid: host
ipc: host
uts: host
privileged: true
restart: always
open-vm-tools:
image: joshwget/open-vm-tools
command: /usr/bin/vmtoolsd
labels:
io.rancher.os.scope: system
tty: true
stdin_open: true
net: host
pid: host
ipc: host
#cloud-config
hostname: josh
open-vm-tools:
image: ahmad/open-vm-tools
command: /usr/bin/vmtoolsd
privileged: true
labels:
io.rancher.os.scope: system
restart: always
tty: true
stdin_open: true
pid: host
docker:
image: joshwget/docker1103
environment:
- HTTP_PROXY
- HTTPS_PROXY
- NO_PROXY
labels:
io.rancher.os.scope: system
io.rancher.os.after: console
net: host
docker:
image: joshwget/docker1102
environment:
- HTTP_PROXY
- HTTPS_PROXY
- NO_PROXY
labels:
io.rancher.os.scope: system
io.rancher.os.after: console
net: host
runv:
image: joshwget/runv
labels:
io.rancher.os.after: docker
volumes_from:
- command-volumes
- user-volumes