Files
linuxkit/examples/docker.yml
Avi Deitcher 0579188c33 Update package tags
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-01-08 20:54:27 +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:c9a1adb982eb4074c01a34ce43860b6df24c252d
- linuxkit/runc:bcd6268ea2d45dc7c6b43ca82d00dd01e7105f17
- linuxkit/containerd:d33b20080a2f88e833680dc8563b5a03a13a297e
- linuxkit/ca-certificates:e1688f69167c991bf5be1be809fd68685a4a4a9a
onboot:
- name: sysctl
image: linuxkit/sysctl:0c5861d22fac133d5bf679e763a1df14ad927de2
- name: sysfs
image: linuxkit/sysfs:b77e6229c5b673421fc4fa938d02907278e895c3
- name: format
image: linuxkit/format:1214ae707090285cec2102e696c62892e3d8d0aa
- name: mount
image: linuxkit/mount:7cffeb3a4a77af09397479fe8e21c0dfce438cd0
command: ["/usr/bin/mountie", "/var/lib/docker"]
services:
- name: getty
image: linuxkit/getty:42bfdda2fef25c9fd84a58bb88de1496a7cafcda
env:
- INSECURE=true
- name: rngd
image: linuxkit/rngd:9812bcbb096ae21650a32a1517a5903efd8ff40b
- name: dhcpcd
image: linuxkit/dhcpcd:c1f461bd40fabb1f3bb77348ab52abad8393bdb3
- name: ntpd
image: linuxkit/openntpd:58cc4dc0fcc1f4cabbe586277cc2949337da5e31
- 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}'