mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-25 08:02:55 +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>
35 lines
966 B
YAML
35 lines
966 B
YAML
kernel:
|
|
image: "linuxkit/kernel:4.9.x"
|
|
cmdline: "console=tty0 page_poison=1"
|
|
init:
|
|
- linuxkit/init:d04cb1ef203f3d3b320e2a7d0ded127d21cabd74
|
|
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
|
|
- linuxkit/containerd:7858fceb91c26c1e2ae9d84ac1ea0c63bbe61e26
|
|
- linuxkit/ca-certificates:75cf419fb58770884c3464eb687ec8dfc704169d
|
|
onboot:
|
|
- name: sysctl
|
|
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"
|
|
services:
|
|
- name: getty
|
|
image: "linuxkit/getty:d0765e0a14733f9454010ac109a7c846a4e67fc5"
|
|
env:
|
|
- INSECURE=true
|
|
- name: rngd
|
|
image: "linuxkit/rngd:1fa4de44c961bb5075647181891a3e7e7ba51c31"
|
|
- name: dhcpcd
|
|
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
|
|
- name: nginx
|
|
image: "nginx:alpine"
|
|
capabilities:
|
|
- CAP_NET_BIND_SERVICE
|
|
- CAP_CHOWN
|
|
- CAP_SETUID
|
|
- CAP_SETGID
|
|
- CAP_DAC_OVERRIDE
|
|
net: host
|
|
trust:
|
|
org:
|
|
- linuxkit
|
|
image:
|
|
- nginx:alpine
|