mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-13 20:58:49 +00:00
44 lines
1.5 KiB
YAML
44 lines
1.5 KiB
YAML
kernel:
|
|
image: linuxkit/kernel:5.10.104
|
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
|
init:
|
|
- linuxkit/init:ad37cb61355b08cf481c54b07612b5206be6254d
|
|
- linuxkit/runc:8c00a7c58393f0cfcab81ac4171c00bcaec6b962
|
|
- linuxkit/containerd:26f04b0b57e3d21bfb36732b5c6ebe8f08c6705b
|
|
- linuxkit/ca-certificates:a37095d3d576815fdefe76a28444c68cd9eac8fe
|
|
onboot:
|
|
- name: sysctl
|
|
image: linuxkit/sysctl:984bff0476b059ae86b4c3e7c15f93f72a5d0a57
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:0060977dc2cd15eb242c21888fad240f96ec7308
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
onshutdown:
|
|
- name: shutdown
|
|
image: busybox:latest
|
|
command: ["/bin/echo", "so long and thanks for all the fish"]
|
|
services:
|
|
- name: getty
|
|
image: linuxkit/getty:97d0743bc3baa349dc96809b58f8584c5896928a
|
|
env:
|
|
- INSECURE=true
|
|
runtime:
|
|
mounts:
|
|
# Makes a writeable (but private and non-persistent) mount of the
|
|
# host etc into the container.
|
|
- type: overlay
|
|
source: overlay
|
|
destination: writeable-host-etc
|
|
options: ["rw", "lowerdir=/etc", "upperdir=/run/hostetc/upper", "workdir=/run/hostetc/work"]
|
|
- name: rngd
|
|
image: linuxkit/rngd:f46ebc10118bac79f68607c3c3308f0da8d9bde3
|
|
- name: nginx
|
|
image: nginx:1.13.8-alpine
|
|
capabilities:
|
|
- CAP_NET_BIND_SERVICE
|
|
- CAP_CHOWN
|
|
- CAP_SETUID
|
|
- CAP_SETGID
|
|
- CAP_DAC_OVERRIDE
|
|
binds:
|
|
- /etc/resolv.conf:/etc/resolv.conf
|