Files
linuxkit/examples/swap.yml
Ian Campbell 4281cbf87c Bump yml to pickup containerd v1.1.0
Signed-off-by: Ian Campbell <ijc@docker.com>
2018-04-25 10:14:52 +01:00

36 lines
1.3 KiB
YAML

kernel:
image: linuxkit/kernel:4.14.35
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
init:
- linuxkit/init:11929b0007b87384f7372e9265067479c4616586
- linuxkit/runc:acba8886e4b1318457c711700f695a02fef9493d
- linuxkit/containerd:f197e7cbb2ede4370b75127c76de6f7b2e3d9873
- linuxkit/ca-certificates:fb5c7bf842a330f5b47cdf71f950fe0c85f4a772
onboot:
- name: sysctl
image: linuxkit/sysctl:b51c3da02bc2fc9a53f699efc51f650ac17ffac8
- name: dhcpcd
image: linuxkit/dhcpcd:01069780f536da8eb7745df7478a97253403b63d
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: format
image: linuxkit/format:d24885a226c42a40f7ed44dd3789a6a035254d98
- name: mount
image: linuxkit/mount:763e67d733342281f3bdc55d7208b9c442837afe
command: ["/usr/bin/mountie", "/var/external"]
- name: swap
image: linuxkit/swap:d4241eabbc9086d30e462bfa6bb952fd4e6b74eb
# 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:b286a610ccbebc45251f3a9df3619d76318e2244
env:
- INSECURE=true
- name: rngd
image: linuxkit/rngd:429e1308b8cad9dbe04b7a91fcebec17ee6f7591
trust:
org:
- linuxkit
- library