Files
linuxkit/projects/compose/compose-dynamic.yml
2020-04-24 12:54:48 +02:00

64 lines
2.0 KiB
YAML

kernel:
image: linuxkit/kernel:5.4.30
cmdline: "console=ttyS0 page_poison=1"
init:
- linuxkit/init:f670045ecb6ec31ea37dd10114366e9a1e915013
- linuxkit/runc:1eef77f5963e44e491abfe392206769037d47ae2
- linuxkit/containerd:8ee7a0d636fff9df7e13076f5492d06274e5f644
- linuxkit/ca-certificates:abfc6701b9ca17e34ac9439ce5946a247e720ff5
onboot:
- name: sysctl
image: linuxkit/sysctl:541f60fe3676611328e89e8bac251fc636b1a6aa
- name: sysfs
image: linuxkit/sysfs:697f996868d6625a78bbbefb199d7b6b6ae3533a
- name: dhcpcd
image: linuxkit/dhcpcd:2f8a9b670aa6e96a09db56ec45c9f07ef2a811ee
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: format
image: linuxkit/format:0b75e494eea0312f3015e6c6f7c5927620d56c96
- name: mount
image: linuxkit/mount:19fa297189166206ac97261679c3e31fb140d48f
command: ["/usr/bin/mountie", "/var/lib/docker"]
services:
- name: getty
image: linuxkit/getty:48f66df198981e692084bf70ab72b9fe2be0f880
env:
- INSECURE=true
- name: rngd
image: linuxkit/rngd:7fab61cca793113280397dcee8159f35dc37adcb
- name: ntpd
image: linuxkit/openntpd:9b33f59f6d66c0f5027754a75e52f972e11882c1
- name: docker
image: docker:19.03.8-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
trust:
org:
- linuxkit
- library