Files
linuxkit/examples/swap.yml
Ian Campbell 1dfe16e570 Bump yml to pickup containerd v1.1.2
Signed-off-by: Ian Campbell <ijc@docker.com>
2018-07-16 10:57:37 +01:00

36 lines
1.0 KiB
YAML

kernel:
image: linuxkit/kernel:4.14.55
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
init:
- linuxkit/init:598439400c1e4bf8c25c63c98b2d3e83b1382be9
- linuxkit/runc:v0.5
- linuxkit/containerd:0784cc754edb296b996c3510abbdf69686ef0f24
- linuxkit/ca-certificates:v0.5
onboot:
- name: sysctl
image: linuxkit/sysctl:v0.5
- name: dhcpcd
image: linuxkit/dhcpcd:v0.5
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: format
image: linuxkit/format:v0.5
- name: mount
image: linuxkit/mount:v0.5
command: ["/usr/bin/mountie", "/var/external"]
- name: swap
image: linuxkit/swap:v0.5
# 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:v0.5
env:
- INSECURE=true
- name: rngd
image: linuxkit/rngd:v0.5
trust:
org:
- linuxkit
- library