mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-05 13:26:28 +00:00
37 lines
1.1 KiB
YAML
37 lines
1.1 KiB
YAML
kernel:
|
|
image: "linuxkit/kernel:4.9.x"
|
|
cmdline: "console=ttyS0"
|
|
init:
|
|
- linuxkit/init:63eed9ca7a09d2ce4c0c5e7238ac005fa44f564b
|
|
- linuxkit/runc:2649198589ef0020d99f613adaeda45ce0093a38
|
|
- linuxkit/containerd:18eaf72f3f4f9a9f29ca1951f66df701f873060b
|
|
- linuxkit/ca-certificates:3344cdca1bc59fdfa17bd7f0fcbf491b9dbaa288
|
|
onboot:
|
|
- name: dhcpcd
|
|
image: "linuxkit/dhcpcd:2def74ab3f9233b4c09ebb196ba47c27c08b0ed8"
|
|
binds:
|
|
- /var:/var
|
|
- /tmp:/etc
|
|
capabilities:
|
|
- CAP_NET_ADMIN
|
|
- CAP_NET_BIND_SERVICE
|
|
- CAP_NET_RAW
|
|
net: host
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
- name: check-kernel-config
|
|
image: "linuxkit/test-kernel-config:ecff41279ccbc408079a3996a956432651c6eb9c"
|
|
readonly: true
|
|
services:
|
|
- name: poweroff
|
|
image: "linuxkit/poweroff:961412b8ef5c5285de0d40ec076701d955eaa084"
|
|
pid: host
|
|
command: ["/bin/sh", "/poweroff.sh", "3"]
|
|
capabilities:
|
|
- CAP_SYS_BOOT
|
|
readonly: true
|
|
outputs:
|
|
- format: kernel+initrd
|
|
- format: iso-bios
|
|
- format: iso-efi
|
|
- format: gcp-img
|