mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-24 11:25:40 +00:00
68 lines
1.7 KiB
YAML
68 lines
1.7 KiB
YAML
kernel:
|
|
image: linuxkit/kernel:4.19.34
|
|
cmdline: "console=ttyS0 page_poison=1"
|
|
init:
|
|
- linuxkit/init:v0.7
|
|
- linuxkit/runc:v0.7
|
|
- linuxkit/containerd:v0.7
|
|
- linuxkit/ca-certificates:v0.7
|
|
onboot:
|
|
- name: sysctl
|
|
image: linuxkit/sysctl:v0.7
|
|
- name: sysfs
|
|
image: linuxkit/sysfs:v0.7
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:v0.7
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
- name: format
|
|
image: linuxkit/format:v0.7
|
|
- name: mount
|
|
image: linuxkit/mount:v0.7
|
|
command: ["/usr/bin/mountie", "/var/lib/docker"]
|
|
services:
|
|
- name: getty
|
|
image: linuxkit/getty:v0.7
|
|
env:
|
|
- INSECURE=true
|
|
- name: rngd
|
|
image: linuxkit/rngd:v0.7
|
|
- name: ntpd
|
|
image: linuxkit/openntpd:v0.7
|
|
- name: docker
|
|
image: docker:18.06.0-ce-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
|
|
- /var/run:/var/run
|
|
- /etc/html:/var/html
|
|
command: ["/usr/local/bin/docker-init", "/usr/local/bin/dockerd"]
|
|
- name: compose
|
|
image: linuxkitprojects/compose:111f9f32a933c9e7acbf3ccfc13fedbdfce8224f
|
|
binds:
|
|
- /var/run:/var/run
|
|
- /etc/compose:/compose
|
|
files:
|
|
- path: var/lib/docker
|
|
directory: true
|
|
- path: etc/html/a/index.html
|
|
source: html-a.html
|
|
- path: etc/html/b/index.html
|
|
source: html-b.html
|
|
- path: etc/compose/docker-compose.yml
|
|
source: docker-compose.yml
|
|
- path: etc/compose/images/nginx:alpine.tar
|
|
source: image-cache/nginx:alpine.tar
|
|
- path: etc/compose/images/traefik.tar
|
|
source: image-cache/traefik.tar
|
|
trust:
|
|
org:
|
|
- linuxkit
|
|
- library
|