Files
linuxkit/examples/swap.yml
Rolf Neugebauer 8173300f76 Update YAML files to new kernels
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-10-11 13:12:49 +01:00

44 lines
1.5 KiB
YAML

kernel:
image: linuxkit/kernel:4.9.54
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
init:
- linuxkit/init:98e95fb67e8afcf02c09ba927e4b357fec42977a
- linuxkit/runc:991ef358ad8fc1111d64f4d8071f2009cc561f6a
- linuxkit/containerd:eaf0d615cfceb9d854408dd3c80429ee8ac4d051
- linuxkit/ca-certificates:ea3c4c120f929f4f07ac8535d75933365b5e9582
onboot:
- name: sysctl
image: linuxkit/sysctl:53f0c724919e8f76ea06c44ee703330290b22669
- name: dhcpcd
image: linuxkit/dhcpcd:aa685261ceb2557990dcfe9dd8824c6b9ec416e2
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: format
image: linuxkit/format:e7f06bd9bb96b663f8aab7d648a5dfc3ed7785fc
- name: mount
image: linuxkit/mount:80c6aeef04260eaa7c74a93594ea7c5a4ab2808e
command: ["/usr/bin/mountie", "/var/external"]
- name: swap
image: linuxkit/swap:195ef5c89fcd68ff412ecb01a330e75503dc7b83
# 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:7abaf7b276c59f80891d92e9279e3e3ee8e2f512
env:
- INSECURE=true
- name: rngd
image: linuxkit/rngd:719e087b06dd14c29acd23fa07cccd036bbab4db
- name: nginx
image: nginx:alpine
capabilities:
- CAP_NET_BIND_SERVICE
- CAP_CHOWN
- CAP_SETUID
- CAP_SETGID
- CAP_DAC_OVERRIDE
trust:
org:
- linuxkit
- library