Files
linuxkit/examples/docker.yml
Avi Deitcher 5c2e62d2b9 Update package tags
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-01-15 14:59:47 +02:00

49 lines
1.7 KiB
YAML

kernel:
image: linuxkit/kernel:6.6.13
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
init:
- linuxkit/init:30e04e810c9d3d54ab1eb6c2d9407a09d4f2709a
- linuxkit/runc:8b5af3365fc7d015db4e44113d93c7b1f8e2d2ab
- linuxkit/containerd:8072efcee7c1d77a6b41093ae610062552e354fb
- linuxkit/ca-certificates:422d213bd5fff6177be9219a1e0dfc39d9d75342
onboot:
- name: sysctl
image: linuxkit/sysctl:112fe3d480ccb6cd115d9d6c446f9d833f6b8e68
- name: sysfs
image: linuxkit/sysfs:23a13bbf83bf666ef6a3ba7b3ebba35d2daead98
- name: format
image: linuxkit/format:8f487d728959192289e0783784fc2b185eadbc82
- name: mount
image: linuxkit/mount:2a507ef30302693682f9f612289028df00c58ac5
command: ["/usr/bin/mountie", "/var/lib/docker"]
services:
- name: getty
image: linuxkit/getty:70237b8ac2006b0177026520e7720fc574339298
env:
- INSECURE=true
- name: rngd
image: linuxkit/rngd:57e031c56e7911083e531963993e0accf7f2b33e
- name: dhcpcd
image: linuxkit/dhcpcd:f46134c05f9665d8865a9fbebd5be0995057af28
- name: ntpd
image: linuxkit/openntpd:59a2eab34d729e379d93deddf12bfb24a9fe3bbb
- 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}'