Files
linuxkit/examples/hostmount-writeable-overlay.yml
Rolf Neugebauer a90d4a92d5 Update YAMLs to the latest kernels
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2018-07-10 13:03:09 +01:00

48 lines
1.5 KiB
YAML

kernel:
image: linuxkit/kernel:4.14.54
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
init:
- linuxkit/init:720920b4a1b4dd90c99e8f91d543381798c4c3cb
- linuxkit/runc:01b4f0706d999f9065ef44492689e43d0bcd83c5
- linuxkit/containerd:92c92a485b881b7b589ccc4a6279224931c8cadf
- linuxkit/ca-certificates:ce2692e89d2be341b0d3caa0b0aa01b37d5d0694
onboot:
- name: sysctl
image: linuxkit/sysctl:6f96e509c7383b31dfdd2c3e9fa01c6ab3e4c586
- name: dhcpcd
image: linuxkit/dhcpcd:0aa201ad1a4c134f0ed6ab2cec23602d5ee73d7f
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:3763a7fc3fddedc185bbd6f7f583f729e57fbeda
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:68dbb9f121634e7fcf538ab1c54f3eb2e2430e85
- 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