Created
May 7, 2017 21:11
-
-
Save clintkitson/25233b7902adbe382e4cfd16f2e1d83d 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:e091a05fbf7c5e16f18b23602febd45dd690ba2f | |
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:c7e69ebd918a237dd086a5c58dd888df772746bd" | |
binds: | |
- /proc/sys/fs/binfmt_misc:/binfmt_misc | |
readonly: true | |
- name: format | |
image: "linuxkit/format:53748000acf515549d398e6ae68545c26c0f3a2e" | |
binds: | |
- /dev:/dev | |
capabilities: | |
- CAP_SYS_ADMIN | |
- CAP_MKNOD | |
- name: mount | |
image: "linuxkit/mount:d2669e7c8ddda99fa0618a414d44261eba6e299a" | |
binds: | |
- /dev:/dev | |
- /var:/var:rshared,rbind | |
capabilities: | |
- CAP_SYS_ADMIN | |
rootfsPropagation: shared | |
command: ["/mount.sh", "/var/lib/docker"] | |
- name: plugins | |
image: "library/alpine:3.5" | |
binds: | |
- /run:/run | |
capabilities: | |
- CAP_SYS_ADMIN | |
command: ["mkdir", "-p", "/run/docker/plugins"] | |
services: | |
- name: rngd | |
image: "linuxkit/rngd:c42fd499690b2cb6e4e6cb99e41dfafca1cf5b14" | |
capabilities: | |
- CAP_SYS_ADMIN | |
oomScoreAdj: -800 | |
readonly: true | |
- name: dhcpcd | |
image: "linuxkit/dhcpcd:57a8ef29d3a910645b2b24c124f9ce9ef53ce703" | |
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:a570316d7fc49ca1daa29bd945499f4963d227af" | |
capabilities: | |
- CAP_SYS_TIME | |
- CAP_SYS_NICE | |
- CAP_SYS_CHROOT | |
- CAP_SETUID | |
- CAP_SETGID | |
net: host | |
- name: docker | |
image: "linuxkit/docker-ce:741bf21513328f674e0cdcaa55492b0b75974e08" | |
capabilities: | |
- all | |
net: host | |
mounts: | |
- type: cgroup | |
options: ["rw","nosuid","noexec","nodev","relatime"] | |
binds: | |
- /var/lib/docker:/var/lib/docker | |
- /lib/modules:/lib/modules | |
- /run/docker/plugins:/run/docker/plugins | |
files: | |
- path: etc/docker/temp/temp | |
contents: ' ' | |
- path: etc/docker/daemon.json | |
contents: '{"debug": true}' | |
trust: | |
image: | |
- linuxkit/kernel | |
- linuxkit/binfmt | |
- linuxkit/rngd | |
outputs: | |
- format: kernel+initrd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment