kernel: image: linuxkit/kernel:6.6.13 cmdline: "console=tty0 console=ttyS0" init: - linuxkit/init:bf45651001f871323d70b746330e8c2a94f767e6 - linuxkit/runc:ab0b50b622b8e34031b6bb8b18497100a558a11d - linuxkit/containerd:c85f857bb3ed72b91509df20d1b9b3e430160074 - linuxkit/ca-certificates:9179129925943ab3e8d4a92e986d8c87193925bc onboot: - name: sysctl image: linuxkit/sysctl:118703ca489a425ee588096a3fa002ce29bf0b4c - name: dhcpcd image: linuxkit/dhcpcd:f67a935a3768da88a5d8252188e71b65f0feadf7 command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"] - name: format image: linuxkit/format:db495c67312fe0ee4d94518e316a76f49ce01c40 command: ["/usr/bin/format", "/dev/sda"] - name: mount image: linuxkit/mount:4711fa808be15ad41129c11a24bbb87efed0beec command: ["/usr/bin/mountie", "/dev/sda1", "/var/external"] - name: loop image: linuxkit/losetup:c9e2844a75524020f7b1ac61993ca776971a8781 command: ["/usr/bin/loopy", "--create", "/var/external/storage_file"] - name: dm-crypt image: linuxkit/dm-crypt:d22cc7153ffef64e11cc7bf78c3923b552b2a3ed command: ["/usr/bin/crypto", "crypt_loop_dev", "/dev/loop0"] - name: mount image: linuxkit/mount:4711fa808be15ad41129c11a24bbb87efed0beec 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:76554bbf9f667205c78ce589c55100376fa16e28 env: - INSECURE=true - name: rngd image: linuxkit/rngd:e83de73632097eab9f96593f287dc032c3da5e75 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"