mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-10-29 05:24:29 +00:00
56 lines
1.5 KiB
YAML
56 lines
1.5 KiB
YAML
kernel:
|
|
image: "linuxkit/kernel:4.9.x"
|
|
cmdline: "console=ttyS0 console=tty0 page_poison=1"
|
|
init:
|
|
- linuxkit/init:2599bcd5013ce5962aa155ee8929c26160de13bd
|
|
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
|
|
- linuxkit/containerd:b50181bc6e0084e5fcd6b6ad3cf433c4f66cae5a
|
|
- linuxkit/ca-certificates:75cf419fb58770884c3464eb687ec8dfc704169d
|
|
onboot:
|
|
- name: sysctl
|
|
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"
|
|
- name: binfmt
|
|
image: "linuxkit/binfmt:8ac5535f57f0c6f5fe88317b9d22a7677093c765"
|
|
- name: dhcpcd
|
|
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
services:
|
|
- name: getty
|
|
image: "linuxkit/getty:ef9d667af71089326419fb08e9cc9d567cf15748"
|
|
env:
|
|
- INSECURE=true
|
|
- name: rngd
|
|
image: "linuxkit/rngd:1fa4de44c961bb5075647181891a3e7e7ba51c31"
|
|
- name: nginx
|
|
image: "nginx:alpine"
|
|
capabilities:
|
|
- CAP_NET_BIND_SERVICE
|
|
- CAP_CHOWN
|
|
- CAP_SETUID
|
|
- CAP_SETGID
|
|
- CAP_DAC_OVERRIDE
|
|
files:
|
|
- path: etc/containerd/config.toml
|
|
contents: |
|
|
state = "/run/containerd"
|
|
root = "/var/lib/containerd"
|
|
snapshotter = "overlay"
|
|
subreaper = false
|
|
|
|
[grpc]
|
|
address = "/run/containerd/containerd.sock"
|
|
uid = 0
|
|
gid = 0
|
|
|
|
[debug]
|
|
address = "/run/containerd/debug.sock"
|
|
level = "info"
|
|
|
|
[metrics]
|
|
address = ":13337"
|
|
trust:
|
|
org:
|
|
- linuxkit
|
|
image:
|
|
- nginx:alpine
|