mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-30 14:10:57 +00:00
56 lines
1.4 KiB
YAML
56 lines
1.4 KiB
YAML
kernel:
|
|
image: linuxkit/kernel:4.14.58
|
|
cmdline: "console=ttyS0 page_poison=1"
|
|
init:
|
|
- linuxkit/init:v0.6
|
|
- linuxkit/runc:v0.6
|
|
- linuxkit/containerd:v0.6
|
|
- linuxkit/ca-certificates:v0.6
|
|
onboot:
|
|
- name: sysctl
|
|
image: linuxkit/sysctl:v0.6
|
|
- name: sysfs
|
|
image: linuxkit/sysfs:v0.6
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:v0.6
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
- name: format
|
|
image: linuxkit/format:v0.6
|
|
- name: mount
|
|
image: linuxkit/mount:v0.6
|
|
command: ["/usr/bin/mountie", "/var/lib/docker"]
|
|
services:
|
|
- name: rngd
|
|
image: linuxkit/rngd:v0.6
|
|
- name: ntpd
|
|
image: linuxkit/openntpd:v0.6
|
|
- name: docker
|
|
image: docker:17.07.0-ce-dind
|
|
capabilities:
|
|
- all
|
|
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:0535e78608f57702745dfd56fbe78d28d237e469
|
|
binds:
|
|
- /var/run:/var/run
|
|
- /etc/compose:/compose
|
|
files:
|
|
- 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
|