mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-24 09:23:33 +00:00
Not sure when this arrived but it was stopping anything running. Appears not to be in the older test `init` containers. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
101 lines
2.5 KiB
YAML
101 lines
2.5 KiB
YAML
kernel:
|
|
image: "linuxkit/kernel:4.9.x"
|
|
cmdline: "console=ttyS0 console=tty0 page_poison=1"
|
|
init:
|
|
- linuxkit/init:f71c3b30ac1ba4ef16c160c89610fa4976f9752f
|
|
- linuxkit/runc:b0fb122e10dbb7e4e45115177a61a3f8d68c19a9
|
|
- linuxkit/containerd:fe1b7f438a234cb6481c6538295115eac2a0596d
|
|
- linuxkit/ca-certificates:e091a05fbf7c5e16f18b23602febd45dd690ba2f
|
|
onboot:
|
|
- name: sysctl
|
|
image: "linuxkit/sysctl:1f5ec5d5e6f7a7a1b3d2ff9dd9e36fd6fb14756a"
|
|
net: host
|
|
pid: host
|
|
ipc: host
|
|
capabilities:
|
|
- CAP_SYS_ADMIN
|
|
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/etcd"]
|
|
- name: dhcpcd
|
|
image: "linuxkit/dhcpcd:0d4012269cb142972fed8542fbdc3ff5a7b695cd"
|
|
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"]
|
|
- name: metadata
|
|
image: "linuxkit/metadata:c5567e65e9125f0a4c4b8cb9d56a86377be62652"
|
|
binds:
|
|
- /dev:/dev
|
|
- /var:/var
|
|
- /tmp/etc/resolv.conf:/etc/resolv.conf
|
|
net: host
|
|
capabilities:
|
|
- CAP_SYS_ADMIN
|
|
services:
|
|
- name: rngd
|
|
image: "linuxkit/rngd:f5e5be43e730ea819c3293d5c6dcbfa7f4c5c314"
|
|
capabilities:
|
|
- CAP_SYS_ADMIN
|
|
oomScoreAdj: -800
|
|
readonly: true
|
|
- name: ntpd
|
|
image: "linuxkit/openntpd:a570316d7fc49ca1daa29bd945499f4963d227af"
|
|
capabilities:
|
|
- CAP_SYS_TIME
|
|
- CAP_SYS_NICE
|
|
- CAP_SYS_CHROOT
|
|
- CAP_SETUID
|
|
- CAP_SETGID
|
|
net: host
|
|
- name: node_exporter
|
|
image: "linuxkit/node_exporter:0c7c1588e4cbce9cc946c1a84d3902b38b4b7ada"
|
|
capabilities:
|
|
- all
|
|
net: host
|
|
pid: host
|
|
binds:
|
|
- /proc:/host/proc
|
|
- /sys:/host/sys
|
|
- /:/rootfs
|
|
- name: etcd
|
|
image: "moby/etcd"
|
|
capabilities:
|
|
- CAP_CHOWN
|
|
- CAP_SETUID
|
|
- CAP_SETGID
|
|
- CAP_DAC_OVERRIDE
|
|
- CAP_SYS_ADMIN
|
|
- CAP_MKNOD
|
|
net: host
|
|
binds:
|
|
- /var/lib/etcd:/var/lib/etcd
|
|
- /var/config/etcd:/etc/etcd
|
|
|
|
outputs:
|
|
- format: kernel+initrd
|
|
- format: gcp
|
|
project: docker4x
|
|
bucket: rolf
|
|
family: moby-demo
|
|
replace: true
|