mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-04 10:26:22 +00:00
24 lines
679 B
YAML
24 lines
679 B
YAML
kernel:
|
|
image: linuxkit/kernel:5.10.47
|
|
cmdline: "console=ttyS0 console=ttyAMA0"
|
|
init:
|
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
|
- linuxkit/runc:f9c8a136f6aca1cde95b249eb5095df702c23ac8
|
|
- linuxkit/containerd:1c4d860d198095565baa3d8d60d434f034f0fef0
|
|
- linuxkit/ca-certificates:4df823737c9bf6a9564b736f1a19fd25d60e909a
|
|
services:
|
|
- name: test
|
|
image: alpine:3.13
|
|
pid: host
|
|
binds:
|
|
- /check.sh:/check.sh
|
|
- /dev/console:/dev/console
|
|
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
|