mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-09 13:43:48 +00:00
Currently it supports only `service start <SERVICE>`, but it could grow e.g. `stop`, `exec` etc in the future (although you can still use `ctr` for those). In order to be able to use go-compile.sh the containerd build needs to move from /root/go to /go as the GOPATH. The vendoring situation is not ideal, but since this tool wants to be an exact match for the containerd it seems tollerable to reuse its vendoring. Signed-off-by: Ian Campbell <ian.campbell@docker.com>
43 lines
1.3 KiB
YAML
43 lines
1.3 KiB
YAML
kernel:
|
|
image: "linuxkit/kernel:4.9.x"
|
|
cmdline: "console=ttyS0 console=tty0 page_poison=1"
|
|
init:
|
|
- linuxkit/init:1b8a7e394d2ec2f1fdb4d67645829d1b5bdca037 # with runc, logwrite, startmemlogd
|
|
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
|
|
- linuxkit/containerd:7858fceb91c26c1e2ae9d84ac1ea0c63bbe61e26
|
|
- linuxkit/ca-certificates:75cf419fb58770884c3464eb687ec8dfc704169d
|
|
- linuxkit/memlogd:9b5834189f598f43c507f6938077113906f51012
|
|
onboot:
|
|
- name: sysctl
|
|
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"
|
|
- name: binfmt
|
|
image: "linuxkit/binfmt:8ac5535f57f0c6f5fe88317b9d22a7677093c765"
|
|
- name: dhcpcd
|
|
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
services:
|
|
- name: rngd
|
|
image: "linuxkit/rngd:1fa4de44c961bb5075647181891a3e7e7ba51c31"
|
|
- name: nginx
|
|
image: "nginx:alpine"
|
|
capabilities:
|
|
- CAP_NET_BIND_SERVICE
|
|
- CAP_CHOWN
|
|
- CAP_SETUID
|
|
- CAP_SETGID
|
|
- CAP_DAC_OVERRIDE
|
|
files:
|
|
- path: etc/docker/daemon.json
|
|
contents: '{"debug": true}'
|
|
trust:
|
|
image:
|
|
- linuxkit/kernel
|
|
- linuxkit/init
|
|
- linuxkit/runc
|
|
- linuxkit/containerd
|
|
- linuxkit/ca-certificates
|
|
- linuxkit/sysctl
|
|
- linuxkit/binfmt
|
|
- linuxkit/dhcpcd
|
|
- linuxkit/rngd
|