Files
linuxkit/examples/swap.yml
Ian Campbell 3590c786bd Bump yml to pickup containerd v1.0.0
Signed-off-by: Ian Campbell <ijc@docker.com>
2017-12-05 16:39:05 +00:00

46 lines
1.5 KiB
YAML

kernel:
image: linuxkit/kernel:4.9.66
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
init:
- linuxkit/init:19ab525233763e1740cd3b9d60cd17141d316776
- linuxkit/runc:1b0741d07949c0acc444cd6a04ee7f833443579d
- linuxkit/containerd:a25f471a8ca68e75afad7bf84187adbe70513b8d
- linuxkit/ca-certificates:af4880e78edc28743f7c5e262678c67c6add4c26
onboot:
- name: sysctl
image: linuxkit/sysctl:efe693534bb623007f94a2e3ff4a9fd6ead75aa1
- name: dhcpcd
image: linuxkit/dhcpcd:48831507404049660b960e4055f544917d90378e
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: format
image: linuxkit/format:6b46d0450082f397177da36be6b4d74d93eacd1e
- name: mount
image: linuxkit/mount:41685ecc8039643948e5dff46e17584753469a7a
command: ["/usr/bin/mountie", "/var/external"]
- name: swap
image: linuxkit/swap:25a2f13110585f3d964a8191fa3a84de51dbb8fd
# to use unencrypted swap, use:
# command: ["/swap.sh", "--path", "/var/external/swap", "--size", "1G"]
command: ["/swap.sh", "--path", "/var/external/swap", "--size", "1G", "--encrypt"]
services:
- name: getty
image: linuxkit/getty:6af22c32c98536a79230eef000e9abd06b037faa
env:
- INSECURE=true
- name: rngd
image: linuxkit/rngd:842e5e8ece7934f0cab9fd0027b595ff3471e5b9
- name: nginx
image: nginx: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