mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-03 12:08:23 +00:00
47 lines
1.9 KiB
YAML
47 lines
1.9 KiB
YAML
kernel:
|
|
image: linuxkit/kernel:6.6.13
|
|
cmdline: "console=tty0 console=ttyS0"
|
|
init:
|
|
- linuxkit/init:30e04e810c9d3d54ab1eb6c2d9407a09d4f2709a
|
|
- linuxkit/runc:8b5af3365fc7d015db4e44113d93c7b1f8e2d2ab
|
|
- linuxkit/containerd:8072efcee7c1d77a6b41093ae610062552e354fb
|
|
- linuxkit/ca-certificates:422d213bd5fff6177be9219a1e0dfc39d9d75342
|
|
onboot:
|
|
- name: sysctl
|
|
image: linuxkit/sysctl:112fe3d480ccb6cd115d9d6c446f9d833f6b8e68
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:f46134c05f9665d8865a9fbebd5be0995057af28
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
- name: format
|
|
image: linuxkit/format:8f487d728959192289e0783784fc2b185eadbc82
|
|
command: ["/usr/bin/format", "/dev/sda"]
|
|
- name: mount
|
|
image: linuxkit/mount:2a507ef30302693682f9f612289028df00c58ac5
|
|
command: ["/usr/bin/mountie", "/dev/sda1", "/var/external"]
|
|
- name: loop
|
|
image: linuxkit/losetup:69609a05033ea80073f21087cb00c448f98d7f0a
|
|
command: ["/usr/bin/loopy", "--create", "/var/external/storage_file"]
|
|
- name: dm-crypt
|
|
image: linuxkit/dm-crypt:ad2a05dcffa28ef809a61aa27ba230c82f02f603
|
|
command: ["/usr/bin/crypto", "crypt_loop_dev", "/dev/loop0"]
|
|
- name: mount
|
|
image: linuxkit/mount:2a507ef30302693682f9f612289028df00c58ac5
|
|
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:70237b8ac2006b0177026520e7720fc574339298
|
|
env:
|
|
- INSECURE=true
|
|
- name: rngd
|
|
image: linuxkit/rngd:57e031c56e7911083e531963993e0accf7f2b33e
|
|
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"
|