Created
June 20, 2017 07:41
-
-
Save asbjornenge/60e40614f4ed9ed11c306eabb0bffc38 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kernel: | |
image: "linuxkit/kernel:4.9.x" | |
cmdline: "console=ttyS0 console=tty0 page_poison=1" | |
init: | |
- linuxkit/init:63eed9ca7a09d2ce4c0c5e7238ac005fa44f564b | |
- linuxkit/runc:b0fb122e10dbb7e4e45115177a61a3f8d68c19a9 | |
- linuxkit/containerd:18eaf72f3f4f9a9f29ca1951f66df701f873060b | |
- linuxkit/ca-certificates:5fc6ba7f91534ddbfef975404c33e44581e6ed7a | |
onboot: | |
- name: sysctl | |
image: "linuxkit/sysctl:1f5ec5d5e6f7a7a1b3d2ff9dd9e36fd6fb14756a" | |
net: host | |
pid: host | |
ipc: host | |
capabilities: | |
- CAP_SYS_ADMIN | |
readonly: true | |
- name: sysfs | |
image: linuxkit/sysfs:6c1d06f28ddd9681799d3950cddf044b930b221c | |
- name: binfmt | |
image: "linuxkit/binfmt:aebd6ed6cc29921371ca78314697881086f4577a" | |
binds: | |
- /proc/sys/fs/binfmt_misc:/binfmt_misc | |
readonly: true | |
- name: format | |
image: "linuxkit/format:a16f2bd94a83dd0cea4d490f710567a0cc60be33" | |
binds: | |
- /dev:/dev | |
capabilities: | |
- CAP_SYS_ADMIN | |
- CAP_MKNOD | |
- name: mount | |
image: "linuxkit/mount:ad138d252798d9d0d6779f7f4d35b7fbcbbeefb9" | |
binds: | |
- /dev:/dev | |
- /var:/var:rshared,rbind | |
capabilities: | |
- CAP_SYS_ADMIN | |
rootfsPropagation: shared | |
command: ["/mount.sh", "/var/lib/docker"] | |
services: | |
- name: rngd | |
image: "linuxkit/rngd:c42fd499690b2cb6e4e6cb99e41dfafca1cf5b14" | |
capabilities: | |
- CAP_SYS_ADMIN | |
oomScoreAdj: -800 | |
readonly: true | |
- name: dhcpcd | |
image: "linuxkit/dhcpcd:8837289b78ecd80f59524883085424e115dd0b3a" | |
binds: | |
- /var:/var | |
- /tmp/etc:/etc | |
capabilities: | |
- CAP_NET_ADMIN | |
- CAP_NET_BIND_SERVICE | |
- CAP_NET_RAW | |
net: host | |
oomScoreAdj: -800 | |
- name: ntpd | |
image: "linuxkit/openntpd:1eb0c05499500c8e44df6160524b79b776bbaa9e" | |
capabilities: | |
- CAP_SYS_TIME | |
- CAP_SYS_NICE | |
- CAP_SYS_CHROOT | |
- CAP_SETUID | |
- CAP_SETGID | |
net: host | |
- name: docker | |
image: "linuxkit/docker-ce:18d9d2719bc99514c5b1883d5c8a36619e5acb4d" | |
capabilities: | |
- all | |
net: host | |
mounts: | |
- type: cgroup | |
options: ["rw","nosuid","noexec","nodev","relatime"] | |
binds: | |
- /var/lib/docker:/var/lib/docker | |
- /lib/modules:/lib/modules | |
- /etc/docker/daemon.json:/etc/docker/daemon.json | |
- name: zerotier | |
image: "zerotier/zerotier-containerized:1.2.4" | |
capabilities: | |
- CAP_NET_ADMIN | |
- CAP_SYS_ADMIN | |
net: host | |
binds: | |
- /dev/net/tun:/dev/net/tun | |
- /var/lib/zerotier-one:/var/lib/zerotier-one | |
files: | |
- path: etc/docker/daemon.json | |
contents: '{"debug": true, "hosts": ["unix:///var/run/docker.sock","0.0.0.0:4243"]}' | |
- path: var/lib/zerotier-one | |
directory: true | |
mode: "0777" | |
trust: | |
image: | |
- linuxkit/kernel | |
- linuxkit/binfmt | |
- linuxkit/rngd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment