mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-02 01:50:49 +00:00
48 lines
1.3 KiB
YAML
48 lines
1.3 KiB
YAML
kernel:
|
|
image: linuxkit/kernel:4.14.48
|
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
|
init:
|
|
- linuxkit/init:a14b7ef6115e6d56fe5bf7c40517b9e190dd4dfb
|
|
- linuxkit/runc:v0.4
|
|
- linuxkit/containerd:72df922e49a363a4ad53d88cd1a8a3ae4d41086f
|
|
- linuxkit/ca-certificates:v0.4
|
|
onboot:
|
|
- name: sysctl
|
|
image: linuxkit/sysctl:v0.4
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:v0.4
|
|
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:44730fd0a7c59dbacf5b48b54ba33f551bcf7ef0
|
|
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:v0.4
|
|
- 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
|