mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-28 21:42:41 +00:00
This doesn't exist with newer ctr or in systems where service containers are not started using the ctr tool. All it contains today are the stdio FIFOs, which are not in general useful to access after container creation. Signed-off-by: Ian Campbell <ian.campbell@docker.com>
88 lines
2.7 KiB
YAML
88 lines
2.7 KiB
YAML
kernel:
|
|
image: "linuxkit/kernel:4.9.x"
|
|
cmdline: "console=ttyS0 console=tty0 page_poison=1"
|
|
init:
|
|
- linuxkit/init:781cec2360313a6d4aca25f5e90623294f8432f7
|
|
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
|
|
- linuxkit/containerd:b50181bc6e0084e5fcd6b6ad3cf433c4f66cae5a
|
|
- linuxkit/ca-certificates:75cf419fb58770884c3464eb687ec8dfc704169d
|
|
onboot:
|
|
- name: sysctl
|
|
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"
|
|
- name: sysfs
|
|
image: linuxkit/sysfs:1244c5a86dfa2318c4e304af68d37e12367e1b7f
|
|
- name: binfmt
|
|
image: "linuxkit/binfmt:8ac5535f57f0c6f5fe88317b9d22a7677093c765"
|
|
- name: format
|
|
image: "linuxkit/format:180cb2dc1de5e60373385080f8148abf10a3afac"
|
|
- name: mounts
|
|
image: "linuxkit/kubernetes:latest-mounts"
|
|
capabilities:
|
|
- all
|
|
pid: host
|
|
rootfsPropagation: shared
|
|
binds:
|
|
- /dev:/dev
|
|
- /var:/var:rshared,rbind
|
|
services:
|
|
- name: getty
|
|
image: "linuxkit/getty:d0765e0a14733f9454010ac109a7c846a4e67fc5"
|
|
env:
|
|
- INSECURE=true
|
|
- name: rngd
|
|
image: "linuxkit/rngd:1fa4de44c961bb5075647181891a3e7e7ba51c31"
|
|
- name: dhcpcd
|
|
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
|
|
- name: ntpd
|
|
image: "linuxkit/openntpd:45deeb05f736162d941c9bf494983f655ab80aa5"
|
|
- name: sshd
|
|
image: "linuxkit/sshd:abc1f5e096982ebc3fb61c506aed3ac9c2ae4d55"
|
|
- name: docker
|
|
image: "linuxkit/docker-ce:dda71ff9fe5ebbfa794b98c57c32df286b212848"
|
|
capabilities:
|
|
- all
|
|
net: host
|
|
pid: host
|
|
mounts:
|
|
- type: cgroup
|
|
options: ["rw","nosuid","noexec","nodev","relatime"]
|
|
binds:
|
|
- /dev:/dev
|
|
- /lib/modules:/lib/modules
|
|
- /var:/var:rshared,rbind
|
|
- /var/lib/kubeadm:/etc/kubernetes
|
|
- /etc/cni:/etc/cni:rshared,rbind
|
|
- /opt/cni:/opt/cni:rshared,rbind
|
|
rootfsPropagation: shared
|
|
- name: kubernetes-image-cache-common
|
|
image: "linuxkit/kubernetes:latest-image-cache-common"
|
|
binds:
|
|
- /var/run:/var/run
|
|
- name: kubernetes-image-cache-control-plane
|
|
image: "linuxkit/kubernetes:latest-image-cache-control-plane"
|
|
binds:
|
|
- /var/run:/var/run
|
|
- name: kubelet
|
|
image: "linuxkit/kubernetes:latest"
|
|
capabilities:
|
|
- all
|
|
net: host
|
|
pid: host
|
|
mounts:
|
|
- type: cgroup
|
|
options: ["rw","nosuid","noexec","nodev","relatime"]
|
|
binds:
|
|
- /dev:/dev
|
|
- /var:/var:rshared,rbind
|
|
- /var/lib/kubeadm:/etc/kubernetes
|
|
- /etc/cni:/rootfs/etc/cni:rshared,rbind
|
|
- /opt/cni:/rootfs/opt/cni:rshared,rbind
|
|
rootfsPropagation: shared
|
|
files:
|
|
- path: root/.ssh/authorized_keys
|
|
source: ~/.ssh/id_rsa.pub
|
|
mode: "0600"
|
|
optional: true
|
|
- {path: etc/cni, directory: true}
|
|
- {path: opt/cni, directory: true}
|