mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-05 08:44:24 +00:00
40 lines
1.4 KiB
YAML
40 lines
1.4 KiB
YAML
kernel:
|
|
image: "linuxkit/kernel:4.9.x"
|
|
cmdline: "console=ttyS0 console=tty0 page_poison=1"
|
|
init:
|
|
- linuxkit/init:4fc8aa82ab34d62d510575c8fbe0c58b7ba9c480
|
|
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
|
|
- linuxkit/containerd:b1766e4c4c09f63ac4925a6e4612852a93f7e73b
|
|
- linuxkit/ca-certificates:eabc5a6e59f05aa91529d80e9a595b85b046f935
|
|
onboot:
|
|
- name: sysctl
|
|
image: "linuxkit/sysctl:b16a483897dd5f71be7e0c04cd090b05f52682e1"
|
|
- name: dhcpcd
|
|
image: "linuxkit/dhcpcd:7d2f17a0e5d1ef9a75a527821a9ab0d753b22e7e"
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
- name: format
|
|
image: "linuxkit/format:55afe08816c2a4d8dbae3ee51ef53e0bee422d66"
|
|
- name: mount
|
|
image: "linuxkit/mount:15e20f27abe69d276f796e4026531833ec5ff345"
|
|
command: ["/mount.sh", "/var/external"]
|
|
- name: swap
|
|
image: "linuxkit/swap:085f0088dd1ef2f994e707e438218ea4d41bad13"
|
|
# 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: rngd
|
|
image: "linuxkit/rngd:b67c3151a52b05db50e6207b40876900f2208d14"
|
|
- name: nginx
|
|
image: "nginx:alpine"
|
|
capabilities:
|
|
- CAP_NET_BIND_SERVICE
|
|
- CAP_CHOWN
|
|
- CAP_SETUID
|
|
- CAP_SETGID
|
|
- CAP_DAC_OVERRIDE
|
|
net: host
|
|
trust:
|
|
org:
|
|
- linuxkit
|