mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-25 02:13:43 +00:00
41 lines
1004 B
YAML
41 lines
1004 B
YAML
kernel:
|
|
image: "linuxkit/kernel:4.9.x"
|
|
cmdline: "console=ttyS0 page_poison=1"
|
|
init:
|
|
- linuxkit/init:cbd7ae748f0a082516501a3e914fa0c924ee941e
|
|
- linuxkit/runc:24dfe632ed3ff53a026ee3fac046fd544434e2d6
|
|
- linuxkit/containerd:f1130450206d4f64f0ddc13d15bb68435aa1ff61
|
|
services:
|
|
- name: rngd
|
|
image: "linuxkit/rngd:c97ef16be340884a985d8b025983505a9bcc51f0"
|
|
capabilities:
|
|
- CAP_SYS_ADMIN
|
|
oomScoreAdj: -800
|
|
- name: dhcpcd
|
|
image: "linuxkit/dhcpcd:cb96c09a33c166eca6530f166f0f79927c3e83b0"
|
|
binds:
|
|
- /var:/var
|
|
- /tmp:/etc
|
|
capabilities:
|
|
- CAP_NET_ADMIN
|
|
- CAP_NET_BIND_SERVICE
|
|
- CAP_NET_RAW
|
|
net: host
|
|
oomScoreAdj: -800
|
|
- name: node_exporter
|
|
image: "linuxkit/node_exporter:bdb20b41855d0e2b4edeec44ef569d030ea3cc47"
|
|
capabilities:
|
|
- all
|
|
net: host
|
|
pid: host
|
|
binds:
|
|
- /proc:/host/proc
|
|
- /sys:/host/sys
|
|
- /:/rootfs
|
|
trust:
|
|
image:
|
|
- linuxkit/kernel
|
|
- linuxkit/rngd
|
|
outputs:
|
|
- format: kernel+initrd
|