Files
linuxkit/examples/docker.yml
Avi Deitcher 6b5be65a33 Update package tags
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2024-01-27 22:28:11 +02:00

49 lines
1.7 KiB
YAML

kernel:
image: linuxkit/kernel:5.10.104
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
init:
- linuxkit/init:31dcd928602e39ee752843ebcf6c35cbae73c883
- linuxkit/runc:7ecf2e5253905855fb554b072d42903f7829c8b6
- linuxkit/containerd:f645aa2f8aa58023149d7766725039572a2ebeb5
- linuxkit/ca-certificates:4ed09a382de2b3ba2143f4270375b3bd6e973fb5
onboot:
- name: sysctl
image: linuxkit/sysctl:2f575c3d127824eb8d059673c538c440d22f19f5
- name: sysfs
image: linuxkit/sysfs:f383bf1c1094383fa3a42e5d5cba7d247dfc6720
- name: format
image: linuxkit/format:ae6114d970492747fafbd2071602090c8df3bbf4
- name: mount
image: linuxkit/mount:6c799d9cd854cb13cab253945aa3893995f22704
command: ["/usr/bin/mountie", "/var/lib/docker"]
services:
- name: getty
image: linuxkit/getty:ccac1189f78ff466b76d097a0b7b7236ea54de84
env:
- INSECURE=true
- name: rngd
image: linuxkit/rngd:fffdd86f314fd960235adf3fba0587d2266d7a0f
- name: dhcpcd
image: linuxkit/dhcpcd:0cca76e71466fc6128fad585549b70538855f254
- name: ntpd
image: linuxkit/openntpd:30314674e138726b6dc774dfb62a060d3a8da8d0
- 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}'