mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-25 22:02:51 +00:00
44 lines
1.5 KiB
YAML
44 lines
1.5 KiB
YAML
kernel:
|
|
image: "linuxkit/kernel:4.9.x"
|
|
cmdline: "console=ttyS0 console=tty0 page_poison=1"
|
|
init:
|
|
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
|
|
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
|
|
- linuxkit/containerd:be69ded7ed4437e2989da850581b631bac877d3e
|
|
- linuxkit/ca-certificates:eabc5a6e59f05aa91529d80e9a595b85b046f935
|
|
onboot:
|
|
- name: sysctl
|
|
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"
|
|
- name: dhcpcd
|
|
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
- name: format
|
|
image: "linuxkit/format:180cb2dc1de5e60373385080f8148abf10a3afac"
|
|
- name: mount
|
|
image: "linuxkit/mount:ff5338822f20375b8913f5a80f9ed4f6ea9a592b"
|
|
command: ["/mount.sh", "/var/external"]
|
|
- name: swap
|
|
image: "linuxkit/swap:e36b5e794256c2a56c000035f73a4d46f7ffb3e6"
|
|
# 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:d0765e0a14733f9454010ac109a7c846a4e67fc5"
|
|
env:
|
|
- INSECURE=true
|
|
- name: rngd
|
|
image: "linuxkit/rngd:1fa4de44c961bb5075647181891a3e7e7ba51c31"
|
|
- name: nginx
|
|
image: "nginx:alpine"
|
|
capabilities:
|
|
- CAP_NET_BIND_SERVICE
|
|
- CAP_CHOWN
|
|
- CAP_SETUID
|
|
- CAP_SETGID
|
|
- CAP_DAC_OVERRIDE
|
|
trust:
|
|
org:
|
|
- linuxkit
|
|
- library
|