Files
linuxkit/examples/swap.yml
Ian Campbell 017d3304fc Update yml after containerd bump
Signed-off-by: Ian Campbell <ijc@docker.com>
2017-07-27 11:45:56 +01:00

44 lines
1.5 KiB
YAML

kernel:
image: linuxkit/kernel:4.9.39
cmdline: "console=tty0 console=ttyS0"
init:
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
- linuxkit/containerd:8fc87b7f465bde9ece781899a007f47b6d3c096b
- linuxkit/ca-certificates:eabc5a6e59f05aa91529d80e9a595b85b046f935
onboot:
- name: sysctl
image: linuxkit/sysctl:d1a43c7c91e92374766f962dc8534cf9508756b0
- name: dhcpcd
image: linuxkit/dhcpcd:17423c1ccced74e3c005fd80486e8177841fe02b
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: format
image: linuxkit/format:efafddf9bc6165b5efaf09c532c15a1100a10e61
- name: mount
image: linuxkit/mount:54990a6a69cb3ead4da8a9c1f0b651e27aea8d3f
command: ["/usr/bin/mountie", "/var/external"]
- name: swap
image: linuxkit/swap:b6d447b55da3c28bdd8a3f4e30fb42c1fa0157bb
# 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:894eef1e5f62f3bc31de8ffaff2b6c0e093c4595
env:
- INSECURE=true
- name: rngd
image: linuxkit/rngd:1516d5d70683a5d925fe475eb1b6164a2f67ac3b
- name: nginx
image: nginx:alpine
capabilities:
- CAP_NET_BIND_SERVICE
- CAP_CHOWN
- CAP_SETUID
- CAP_SETGID
- CAP_DAC_OVERRIDE
trust:
org:
- linuxkit
- library