mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-03 07:38:31 +00:00
47 lines
1.9 KiB
YAML
47 lines
1.9 KiB
YAML
kernel:
|
|
image: linuxkit/kernel:5.10.104
|
|
cmdline: "console=tty0 console=ttyS0"
|
|
init:
|
|
- linuxkit/init:14df799bb3b9e0eb0491da9fda7f32a108a2e2a5
|
|
- linuxkit/runc:436357ce16dd663e24f595bcec26d5ae476c998e
|
|
- linuxkit/containerd:eeb3aaf497c0b3f6c67f3a245d61ea5a568ca718
|
|
- linuxkit/ca-certificates:4de36e93dc87f7ccebd20db616ed10d381911d32
|
|
onboot:
|
|
- name: sysctl
|
|
image: linuxkit/sysctl:e5959517fab7b44692ad63941eecf37486e73799
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:2a8ed08fea442909ba10f950d458191ed3647115
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
- name: format
|
|
image: linuxkit/format:9c40b556691c1bf47394603aeb2dbdba21e7e32e
|
|
command: ["/usr/bin/format", "/dev/sda"]
|
|
- name: mount
|
|
image: linuxkit/mount:a8581e454f846690d09e2e7c6287d3c84ca53257
|
|
command: ["/usr/bin/mountie", "/dev/sda1", "/var/external"]
|
|
- name: loop
|
|
image: linuxkit/losetup:fcee8e453684d45c3c411fe8c28ecb2210158638
|
|
command: ["/usr/bin/loopy", "--create", "/var/external/storage_file"]
|
|
- name: dm-crypt
|
|
image: linuxkit/dm-crypt:526d32351c8246431be8e1a168cb514ff3c365af
|
|
command: ["/usr/bin/crypto", "crypt_loop_dev", "/dev/loop0"]
|
|
- name: mount
|
|
image: linuxkit/mount:a8581e454f846690d09e2e7c6287d3c84ca53257
|
|
command: ["/usr/bin/mountie", "/dev/mapper/crypt_loop_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:06f34bce0facea79161566d67345c3ea49965437
|
|
env:
|
|
- INSECURE=true
|
|
- name: rngd
|
|
image: linuxkit/rngd:331294919ba6d953d261a2694019b659a98535a4
|
|
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"
|