Files
linuxkit/examples/swap.yml
Rolf Neugebauer 093dae22d5 Update YAML files
- Use the new style kernel tags with the full kernel version
- Update packages with new alpine base and new/simplified Makefiles.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-06-27 19:56:08 +01:00

44 lines
1.5 KiB
YAML

kernel:
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0 console=tty0 page_poison=1"
init:
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
- linuxkit/ca-certificates:eabc5a6e59f05aa91529d80e9a595b85b046f935
onboot:
- name: sysctl
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"
- name: dhcpcd
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: format
image: "linuxkit/format:ba085fdcac31c383acee3b4b91d78eb7095e5ac3"
- name: mount
image: "linuxkit/mount:fe22dc5cbf109b4637b1caaafc76ccbf5140c3da"
command: ["/mount.sh", "/var/external"]
- name: swap
image: "linuxkit/swap:cfdce4b41db13ce996cfa986b12b69b94f56f718"
# 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:6cbeee0392b0670053ce2bf05a5a0d67ec2bce05"
env:
- INSECURE=true
- name: rngd
image: "linuxkit/rngd:b50b22dd574c5377708977af769f053009fff6d5"
- name: nginx
image: "nginx:alpine"
capabilities:
- CAP_NET_BIND_SERVICE
- CAP_CHOWN
- CAP_SETUID
- CAP_SETGID
- CAP_DAC_OVERRIDE
trust:
org:
- linuxkit
- library