mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-03 23:20:43 +00:00
41 lines
1.6 KiB
YAML
41 lines
1.6 KiB
YAML
kernel:
|
|
image: linuxkit/kernel:5.10.104
|
|
cmdline: "console=tty0 console=ttyS0"
|
|
init:
|
|
- linuxkit/init:7e8c0f9a968894f6f8be80bfb99b3e16d201e50b
|
|
- linuxkit/runc:86b8092f0ad8635cc8b6b1c95a4b20f66c4095bb
|
|
- linuxkit/containerd:1b14966d84209083c9cbc757be862f97005e5796
|
|
- linuxkit/ca-certificates:b1afe194ecb800d2b947e24c9e780c959fd3668f
|
|
onboot:
|
|
- name: sysctl
|
|
image: linuxkit/sysctl:cf714d65c0df9ff0f0cccf4a3d4ff4157ddef903
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:cf2f1bb633284e0c2b0745c9d29aee66fab449aa
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
- name: format
|
|
image: linuxkit/format:68af8bc2e992f2f591afc9c628cfe35296616193
|
|
command: ["/usr/bin/format", "/dev/sda"]
|
|
- name: dm-crypt
|
|
image: linuxkit/dm-crypt:7615a11bf7727f5cf9fa3f352bba4ca03a332a32
|
|
command: ["/usr/bin/crypto", "crypt_dev", "/dev/sda1"]
|
|
- name: mount
|
|
image: linuxkit/mount:ef198f6e9f4f9ee51a94daa90f3ebac67f7ee31e
|
|
command: ["/usr/bin/mountie", "/dev/mapper/crypt_dev", "/var/secure_storage"]
|
|
- name: bbox
|
|
image: busybox
|
|
command: ["sh", "-c", "echo 'secret things' >/var/secure_storage/secrets"]
|
|
binds:
|
|
- /var:/var
|
|
services:
|
|
- name: getty
|
|
image: linuxkit/getty:e594a89dc1aee9b40cb0febcbdf207a5c2506c0e
|
|
env:
|
|
- INSECURE=true
|
|
- name: rngd
|
|
image: linuxkit/rngd:4bbcd2fc645f2387c98980aa9f8b19c62805d06f
|
|
files:
|
|
- path: etc/dm-crypt/key
|
|
# the below key is just to keep the example self-contained
|
|
# !!! provide a proper key for production use here !!!
|
|
contents: "abcdefghijklmnopqrstuvwxyz123456"
|