mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-14 00:17:27 +00:00
56 lines
1.9 KiB
YAML
56 lines
1.9 KiB
YAML
kernel:
|
|
image: linuxkit/kernel:5.10.104
|
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
|
init:
|
|
- linuxkit/init:5251073a3d3e52881bf2697f7dfabac6eedfd569
|
|
- linuxkit/runc:49628804b3a39b0a0cfab046dd80b76a4fd87b5a
|
|
- linuxkit/containerd:c35f10fb8127841b4eb82ddfcebd5d5a54bad0e7
|
|
- linuxkit/ca-certificates:945ac3f0c1a31535d37ff77003fc30dbd71da6bb
|
|
onboot:
|
|
- name: sysctl
|
|
image: linuxkit/sysctl:7c0059d1ad7d86127d990474b6e5f17297c07bf5
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:fc2b5bf40b13df746ee66f354672bf687a540ce8
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
- name: sysfs
|
|
image: linuxkit/sysfs:713f1e871e7fdfcdc9088385501d3c49116e915d
|
|
- name: format
|
|
image: linuxkit/format:3648c589de02c27a98fe4cbdfa4c890f45aaa121
|
|
- name: mount
|
|
image: linuxkit/mount:fb8f153ac0d83d01dee58a7c720e243dca3593fe
|
|
command: ["/usr/bin/mountie", "/var/lib/docker"]
|
|
|
|
services:
|
|
- name: getty
|
|
image: linuxkit/getty:d421b06d0a1ae118e2af025cb7a3637f808a755b
|
|
env:
|
|
- INSECURE=true
|
|
- name: rngd
|
|
image: linuxkit/rngd:97136824ad06ba2cc17c086d30f60c7f93b56f72
|
|
- name: ntpd
|
|
image: linuxkit/openntpd:d2b58cb5d776f9e56cf34d8ba301a3e64c16355c
|
|
|
|
- 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
|
|
- /var/run:/var/run
|
|
- /lib/modules:/lib/modules
|
|
- /etc/docker/daemon.json:/etc/docker/daemon.json
|
|
command: ["/usr/local/bin/docker-init", "/usr/local/bin/dockerd"]
|
|
- name: cadvisor
|
|
image: linuxkit/cadvisor:64d03b12cb1d096f609e7dbd8160f6f3d1e7c23e
|
|
files:
|
|
- path: var/lib/docker
|
|
directory: true
|
|
- path: etc/docker/daemon.json
|
|
contents: '{"debug": true, "hosts": ["unix:///var/run/docker.sock"]}'
|
|
mode: "0644"
|