mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-05 23:21:36 +00:00
As suggested by @shykes these are clearer - onboot for things that are run at boot time to completion - services for persistent services Signed-off-by: Justin Cormack <justin.cormack@docker.com>
38 lines
1021 B
YAML
38 lines
1021 B
YAML
kernel:
|
|
image: "mobylinux/kernel:4.9.x"
|
|
cmdline: "console=ttyS0"
|
|
init:
|
|
- mobylinux/init:02f05d99b4eb9cd9223bb5915f4070cf7b67c862
|
|
- mobylinux/runc:b0fb122e10dbb7e4e45115177a61a3f8d68c19a9
|
|
- mobylinux/containerd:68bb523deea09da293d675cbf88474eced540b8c
|
|
- mobylinux/ca-certificates:eabc5a6e59f05aa91529d80e9a595b85b046f935
|
|
onboot:
|
|
- name: binfmt
|
|
image: "mobylinux/binfmt:bdb754f25a5d851b4f5f8d185a43dfcbb3c22d01"
|
|
binds:
|
|
- /proc/sys/fs/binfmt_misc:/binfmt_misc
|
|
readonly: true
|
|
- name: check
|
|
image: "mobylinux/check:c9e41ab96b3ea6a3ced97634751e20d12a5bf52f"
|
|
pid: host
|
|
capabilities:
|
|
- CAP_SYS_BOOT
|
|
readonly: true
|
|
services:
|
|
- name: dhcpcd
|
|
image: "mobylinux/dhcpcd:3eb32da7ff8051f61e0f18edd90dd0fbfcf148ea"
|
|
binds:
|
|
- /var:/var
|
|
- /tmp:/etc
|
|
capabilities:
|
|
- CAP_NET_ADMIN
|
|
- CAP_NET_BIND_SERVICE
|
|
- CAP_NET_RAW
|
|
net: host
|
|
oomScoreAdj: -800
|
|
outputs:
|
|
- format: kernel+initrd
|
|
- format: iso-bios
|
|
- format: iso-efi
|
|
- format: gcp-img
|