Files
linuxkit/examples/swap.yml
Rolf Neugebauer 894bc2bad9 Switch the default kernel from 4.9.x to 4.14.x
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2018-02-21 10:36:49 +00:00

36 lines
1.0 KiB
YAML

kernel:
image: linuxkit/kernel:4.14.20
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
init:
- linuxkit/init:d899eee3560a40aa3b4bdd67b3bb82703714b2b9
- linuxkit/runc:7c39a68490a12cde830e1922f171c451fb08e731
- linuxkit/containerd:37e397ebfc6bd5d8e18695b121166ffd0cbfd9f0
- linuxkit/ca-certificates:v0.2
onboot:
- name: sysctl
image: linuxkit/sysctl:v0.2
- name: dhcpcd
image: linuxkit/dhcpcd:v0.2
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: format
image: linuxkit/format:v0.2
- name: mount
image: linuxkit/mount:v0.2
command: ["/usr/bin/mountie", "/var/external"]
- name: swap
image: linuxkit/swap:v0.2
# 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:v0.2
env:
- INSECURE=true
- name: rngd
image: linuxkit/rngd:v0.2
trust:
org:
- linuxkit
- library