Files
linuxkit/examples/swap.yml
Rolf Neugebauer dca5671fc1 Update kernel version in all YAML files
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-07-07 18:41:33 +01:00

44 lines
1.5 KiB
YAML

kernel:
image: "linuxkit/kernel:4.9.36"
cmdline: "console=ttyS0 console=tty0 page_poison=1"
init:
- linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083
- linuxkit/runc:2310ad9d266cf5d9c4d07613bd2135ed7eb8a21f
- linuxkit/containerd:c977f27c234d55b85172813b8451f67ea86be4a3
- linuxkit/ca-certificates:eabc5a6e59f05aa91529d80e9a595b85b046f935
onboot:
- name: sysctl
image: "linuxkit/sysctl:d1a43c7c91e92374766f962dc8534cf9508756b0"
- name: dhcpcd
image: "linuxkit/dhcpcd:4b7b8bb024cebb1bbb9c8026d44d7cbc8e202c41"
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: format
image: "linuxkit/format:84a997e69051a1bf05b7c1926ab785bb07932954"
- name: mount
image: "linuxkit/mount:b24bd97ae43397b469dbaadd80f17f291c817bdf"
command: ["/mount.sh", "/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:5ab31289889d61a5d2ecbeea8e36ce74ac54737c"
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