mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-05-08 17:47:07 +00:00
30 lines
791 B
YAML
30 lines
791 B
YAML
kernel:
|
|
image: linuxkit/kernel:6.6.13
|
|
cmdline: "console=ttyS0 console=ttyAMA0"
|
|
init:
|
|
- linuxkit/init:7135424f6836ee166d1199e88cfb95ee88efaf91
|
|
- linuxkit/runc:efcece75889aec4e2de0d95ba27ccc46438522b3
|
|
- linuxkit/containerd:ce79d5d4ab9c46f4763735c6e4ab5c51c3feb5d8
|
|
- linuxkit/ca-certificates:d4cc1b82c73d272e94d0e71ea375fe56b0c0626a
|
|
services:
|
|
- name: test
|
|
image: alpine:3.13
|
|
pid: host
|
|
binds:
|
|
- /check.sh:/check.sh
|
|
- /dev/console:/dev/console
|
|
devices:
|
|
- path: "/dev/console"
|
|
type: c
|
|
major: 5
|
|
minor: 1
|
|
mode: "0666"
|
|
capabilities:
|
|
- CAP_SYS_BOOT
|
|
command: ["sh", "/check.sh"]
|
|
files:
|
|
- path: check.sh
|
|
source: ./check.sh
|
|
- path: /etc/containerd/runtime-config.toml
|
|
source: ./runtime-config.toml
|