mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-05 14:16:03 +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:31dcd928602e39ee752843ebcf6c35cbae73c883
|
|
- linuxkit/runc:7ecf2e5253905855fb554b072d42903f7829c8b6
|
|
- linuxkit/containerd:f645aa2f8aa58023149d7766725039572a2ebeb5
|
|
- linuxkit/ca-certificates:4ed09a382de2b3ba2143f4270375b3bd6e973fb5
|
|
onboot:
|
|
- name: sysctl
|
|
image: linuxkit/sysctl:2f575c3d127824eb8d059673c538c440d22f19f5
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:0cca76e71466fc6128fad585549b70538855f254
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
- name: format
|
|
image: linuxkit/format:ae6114d970492747fafbd2071602090c8df3bbf4
|
|
command: ["/usr/bin/format", "/dev/sda"]
|
|
- name: dm-crypt
|
|
image: linuxkit/dm-crypt:7d147d42e0ec560777f2061af3ffff37c1c9c180
|
|
command: ["/usr/bin/crypto", "crypt_dev", "/dev/sda1"]
|
|
- name: mount
|
|
image: linuxkit/mount:6c799d9cd854cb13cab253945aa3893995f22704
|
|
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:ccac1189f78ff466b76d097a0b7b7236ea54de84
|
|
env:
|
|
- INSECURE=true
|
|
- name: rngd
|
|
image: linuxkit/rngd:fffdd86f314fd960235adf3fba0587d2266d7a0f
|
|
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"
|