Files
linuxkit/examples/swap.yml
Ian Campbell e58300388a Bump yml to pickup containerd v1.0.3
Also pick a newer version of runc.

Signed-off-by: Ian Campbell <ijc@docker.com>
2018-04-03 11:25:22 +01:00

36 lines
1.3 KiB
YAML

kernel:
image: linuxkit/kernel:4.14.32
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
init:
- linuxkit/init:be60dd1cb15ad39225512b6753304571d8c2fb17
- linuxkit/runc:17e8c06e48ac220be79b2476e39b4d7feb905524
- linuxkit/containerd:87ea9b027267b26bf5cc2d10a50c3eb9b5017df4
- linuxkit/ca-certificates:04a6dc9e5c901ee128c353f690bd97aeb7d97ae8
onboot:
- name: sysctl
image: linuxkit/sysctl:e7106b5e3db64a9ec21eb1479727627ecf52137d
- name: dhcpcd
image: linuxkit/dhcpcd:8b23f047ffa4d657a2c7dd465e69cc13721c4165
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: format
image: linuxkit/format:a0a0469c74e3c5617d2fdffb6c38e402133fb680
- name: mount
image: linuxkit/mount:03795dccf510edfc14aeb0ab5e87cd9f7da3586a
command: ["/usr/bin/mountie", "/var/external"]
- name: swap
image: linuxkit/swap:83b2f6d8c1e8196b68215a62269da4b79002aad0
# 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:9e2c184fdd708720d47e663f03ad137c074d4f21
env:
- INSECURE=true
- name: rngd
image: linuxkit/rngd:8bcfb9a90470161a04f25e58407852a3d1ad499a
trust:
org:
- linuxkit
- library