mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-02 20:44:26 +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:ad37cb61355b08cf481c54b07612b5206be6254d
|
|
- linuxkit/runc:8c00a7c58393f0cfcab81ac4171c00bcaec6b962
|
|
- linuxkit/containerd:26f04b0b57e3d21bfb36732b5c6ebe8f08c6705b
|
|
- linuxkit/ca-certificates:a37095d3d576815fdefe76a28444c68cd9eac8fe
|
|
onboot:
|
|
- name: sysctl
|
|
image: linuxkit/sysctl:984bff0476b059ae86b4c3e7c15f93f72a5d0a57
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:0060977dc2cd15eb242c21888fad240f96ec7308
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
- name: format
|
|
image: linuxkit/format:97dcd726d14ce2ef767d674adb8a709d5a73c213
|
|
command: ["/usr/bin/format", "/dev/sda"]
|
|
- name: mount
|
|
image: linuxkit/mount:ce11bd5f816af89ba0760853420aa988b98cda13
|
|
command: ["/usr/bin/mountie", "/dev/sda1", "/var/external"]
|
|
- name: loop
|
|
image: linuxkit/losetup:738e01d31a0ee58b246d5fbaa1b80c6c289eb3c0
|
|
command: ["/usr/bin/loopy", "--create", "/var/external/storage_file"]
|
|
- name: dm-crypt
|
|
image: linuxkit/dm-crypt:c2b4defb1955d5fd15793b971ec01d4721976c47
|
|
command: ["/usr/bin/crypto", "crypt_loop_dev", "/dev/loop0"]
|
|
- name: mount
|
|
image: linuxkit/mount:ce11bd5f816af89ba0760853420aa988b98cda13
|
|
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:97d0743bc3baa349dc96809b58f8584c5896928a
|
|
env:
|
|
- INSECURE=true
|
|
- name: rngd
|
|
image: linuxkit/rngd:f46ebc10118bac79f68607c3c3308f0da8d9bde3
|
|
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"
|