Files
linuxkit/examples/hostmount-writeable-overlay.yml
Rolf Neugebauer 66c60d5cf9 Update YAMLs to the latest hashes
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@gmail.com>
2018-03-24 12:57:31 +00:00

48 lines
1.5 KiB
YAML

kernel:
image: linuxkit/kernel:4.14.29
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
init:
- linuxkit/init:7af4e32f31f04d6c63d457c502d2f69344db7d72
- linuxkit/runc:e4b01b68b225d694a60f8b335258bd2144971239
- linuxkit/containerd:d03b69c7d23fdae0fec1b6e62a72d362992135df
- linuxkit/ca-certificates:04a6dc9e5c901ee128c353f690bd97aeb7d97ae8
onboot:
- name: sysctl
image: linuxkit/sysctl:e7106b5e3db64a9ec21eb1479727627ecf52137d
- name: dhcpcd
image: linuxkit/dhcpcd:8b23f047ffa4d657a2c7dd465e69cc13721c4165
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:9e2c184fdd708720d47e663f03ad137c074d4f21
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:8bcfb9a90470161a04f25e58407852a3d1ad499a
- 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