mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-02 22:07:38 +00:00
41 lines
1.5 KiB
YAML
41 lines
1.5 KiB
YAML
kernel:
|
|
image: linuxkit/kernel:6.6.13
|
|
cmdline: "console=tty0 console=ttyS0"
|
|
init:
|
|
- linuxkit/init:7135424f6836ee166d1199e88cfb95ee88efaf91
|
|
- linuxkit/runc:efcece75889aec4e2de0d95ba27ccc46438522b3
|
|
- linuxkit/containerd:ce79d5d4ab9c46f4763735c6e4ab5c51c3feb5d8
|
|
- linuxkit/ca-certificates:d4cc1b82c73d272e94d0e71ea375fe56b0c0626a
|
|
onboot:
|
|
- name: sysctl
|
|
image: linuxkit/sysctl:c5f4b4895844b993dce4e8b35fd8263a6b557807
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:330839488cd122db3c44738e265c035c9729a963
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
- name: format
|
|
image: linuxkit/format:3c858f0cf42a2b14441bfb5c266b78f14d2b75a4
|
|
command: ["/usr/bin/format", "/dev/sda"]
|
|
- name: dm-crypt
|
|
image: linuxkit/dm-crypt:19fa6affe9da03afc91694e36d72a4924c65a0e0
|
|
command: ["/usr/bin/crypto", "crypt_dev", "/dev/sda1"]
|
|
- name: mount
|
|
image: linuxkit/mount:4413ebd50bfbe026058e4a60463259cece2b8bb5
|
|
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:bae9e3d4861173bacf78f14a4fe44997a430d13b
|
|
env:
|
|
- INSECURE=true
|
|
- name: rngd
|
|
image: linuxkit/rngd:814d1a3a76e84eae01a94575c038fd22652f94e3
|
|
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"
|