Files
linuxkit/examples/hostmount-writeable-overlay.yml
Ian Campbell e58300388a Bump yml to pickup containerd v1.0.3
Also pick a newer version of runc.

Signed-off-by: Ian Campbell <ijc@docker.com>
2018-04-03 11:25:22 +01:00

48 lines
1.5 KiB
YAML

kernel:
image: linuxkit/kernel:4.14.32
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
init:
- linuxkit/init:be60dd1cb15ad39225512b6753304571d8c2fb17
- linuxkit/runc:17e8c06e48ac220be79b2476e39b4d7feb905524
- linuxkit/containerd:87ea9b027267b26bf5cc2d10a50c3eb9b5017df4
- 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