mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-03 11:52:06 +00:00
44 lines
1.5 KiB
YAML
44 lines
1.5 KiB
YAML
kernel:
|
|
image: linuxkit/kernel:6.6.13
|
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
|
init:
|
|
- linuxkit/init:30e04e810c9d3d54ab1eb6c2d9407a09d4f2709a
|
|
- linuxkit/runc:8b5af3365fc7d015db4e44113d93c7b1f8e2d2ab
|
|
- linuxkit/containerd:8072efcee7c1d77a6b41093ae610062552e354fb
|
|
- linuxkit/ca-certificates:422d213bd5fff6177be9219a1e0dfc39d9d75342
|
|
onboot:
|
|
- name: sysctl
|
|
image: linuxkit/sysctl:112fe3d480ccb6cd115d9d6c446f9d833f6b8e68
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:f46134c05f9665d8865a9fbebd5be0995057af28
|
|
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:70237b8ac2006b0177026520e7720fc574339298
|
|
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:57e031c56e7911083e531963993e0accf7f2b33e
|
|
- 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
|