mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-04 18:37:48 +00:00
30 lines
791 B
YAML
30 lines
791 B
YAML
kernel:
|
|
image: linuxkit/kernel:6.6.71
|
|
cmdline: "console=ttyS0 console=ttyAMA0"
|
|
init:
|
|
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
|
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
|
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
|
- linuxkit/ca-certificates:a4f15fe71bb0ad7560ff78f48504dd2af500a442
|
|
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
|