Last active
May 2, 2017 13:55
-
-
Save jinglemansweep/30e785b26d58bd65675a1612d643f080 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:42fe8cb1508b3afed39eb89821906e3cc7a70551 | |
- linuxkit/runc:b0fb122e10dbb7e4e45115177a61a3f8d68c19a9 | |
- linuxkit/containerd:60e2486a74c665ba4df57e561729aec20758daed | |
- linuxkit/ca-certificates:eabc5a6e59f05aa91529d80e9a595b85b046f935 | |
onboot: | |
- name: sysctl | |
image: "linuxkit/sysctl:2cf2f9d5b4d314ba1bfc22b2fe931924af666d8c" | |
net: host | |
pid: host | |
ipc: host | |
capabilities: | |
- CAP_SYS_ADMIN | |
readonly: true | |
- name: binfmt | |
image: "linuxkit/binfmt:8881283ac627be1542811bd25c85e7782aebc692" | |
binds: | |
- /proc/sys/fs/binfmt_misc:/binfmt_misc | |
readonly: true | |
- name: dhcpcd | |
image: "linuxkit/dhcpcd:48e249ebef6a521eed886b3bce032db69fbb4afa" | |
binds: | |
- /var:/var | |
- /tmp/etc:/etc | |
capabilities: | |
- CAP_NET_ADMIN | |
- CAP_NET_BIND_SERVICE | |
- CAP_NET_RAW | |
net: host | |
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"] | |
services: | |
- name: rngd | |
image: "linuxkit/rngd:c42fd499690b2cb6e4e6cb99e41dfafca1cf5b14" | |
capabilities: | |
- CAP_SYS_ADMIN | |
oomScoreAdj: -800 | |
readonly: true | |
- name: nginx | |
image: "nginx:alpine" | |
capabilities: | |
- CAP_NET_BIND_SERVICE | |
- CAP_CHOWN | |
- CAP_SETUID | |
- CAP_SETGID | |
- CAP_DAC_OVERRIDE | |
net: host | |
files: | |
- path: etc/docker/daemon.json | |
contents: '{"debug": true}' | |
trust: | |
image: | |
- linuxkit/kernel | |
outputs: | |
- format: kernel+initrd | |
- format: iso-bios | |
- format: iso-efi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment