mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-24 09:23:33 +00:00
48 lines
1.5 KiB
YAML
48 lines
1.5 KiB
YAML
kernel:
|
|
image: linuxkit/kernel:5.4.30
|
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
|
init:
|
|
- linuxkit/init:f670045ecb6ec31ea37dd10114366e9a1e915013
|
|
- linuxkit/runc:1eef77f5963e44e491abfe392206769037d47ae2
|
|
- linuxkit/containerd:8ee7a0d636fff9df7e13076f5492d06274e5f644
|
|
- linuxkit/ca-certificates:abfc6701b9ca17e34ac9439ce5946a247e720ff5
|
|
onboot:
|
|
- name: sysctl
|
|
image: linuxkit/sysctl:541f60fe3676611328e89e8bac251fc636b1a6aa
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:2f8a9b670aa6e96a09db56ec45c9f07ef2a811ee
|
|
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:48f66df198981e692084bf70ab72b9fe2be0f880
|
|
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:7fab61cca793113280397dcee8159f35dc37adcb
|
|
- 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
|
|
trust:
|
|
org:
|
|
- linuxkit
|
|
- library
|