Files
linuxkit/examples/docker.yml
Avi Deitcher 1723cf9493 Update package tags
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-10-29 07:10:30 -04:00

49 lines
1.7 KiB
YAML

kernel:
image: linuxkit/kernel:6.12.52
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
init:
- linuxkit/init:b92210bd04aa29344d70fd2d259e2ae3c7903ec4
- linuxkit/runc:98ddef9b5b87cb44783566ed2a86cea95439a631
- linuxkit/containerd:22578becf270fe4bbb82e29f2539f71613e0b4fc
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
onboot:
- name: sysctl
image: linuxkit/sysctl:97e8bb067cd9cef1514531bb692f27263ac6d626
- name: sysfs
image: linuxkit/sysfs:6d5bd933762f6b216744c711c6e876756cee9600
- name: format
image: linuxkit/format:4f779c0b0d0ba145b7f03211b5cbf59fbbe12e54
- name: mount
image: linuxkit/mount:bd1c3bb45e48e68e47a9456d1669f7119f855184
command: ["/usr/bin/mountie", "/var/lib/docker"]
services:
- name: getty
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
env:
- INSECURE=true
- name: rngd
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
- name: dhcpcd
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
- name: ntpd
image: linuxkit/openntpd:2508f1d040441457a0b3e75744878afdf61bc473
- name: docker
image: docker:20.10.6-dind
capabilities:
- all
net: host
mounts:
- type: cgroup
options: ["rw","nosuid","noexec","nodev","relatime"]
binds:
- /etc/resolv.conf:/etc/resolv.conf
- /var/lib/docker:/var/lib/docker
- /lib/modules:/lib/modules
- /etc/docker/daemon.json:/etc/docker/daemon.json
command: ["/usr/local/bin/docker-init", "/usr/local/bin/dockerd"]
files:
- path: var/lib/docker
directory: true
- path: etc/docker/daemon.json
contents: '{"debug": true}'