mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-22 10:31:35 +00:00
62 lines
1.4 KiB
YAML
62 lines
1.4 KiB
YAML
kernel:
|
|
image: linuxkit/kernel:4.9.78
|
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
|
init:
|
|
- linuxkit/init:v0.2
|
|
- linuxkit/runc:v0.2
|
|
- linuxkit/containerd:v0.2
|
|
- linuxkit/ca-certificates:v0.2
|
|
onboot:
|
|
- name: sysctl
|
|
image: linuxkit/sysctl:v0.2
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:v0.2
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
onshutdown:
|
|
- name: shutdown
|
|
image: busybox:latest
|
|
command: ["/bin/echo", "so long and thanks for all the fish"]
|
|
services:
|
|
- name: getty
|
|
image: linuxkit/getty:v0.2
|
|
env:
|
|
- INSECURE=true
|
|
- name: rngd
|
|
image: linuxkit/rngd:v0.2
|
|
- name: nginx
|
|
image: nginx:alpine
|
|
capabilities:
|
|
- CAP_NET_BIND_SERVICE
|
|
- CAP_CHOWN
|
|
- CAP_SETUID
|
|
- CAP_SETGID
|
|
- CAP_DAC_OVERRIDE
|
|
binds:
|
|
- /etc/resolv.conf:/etc/resolv.conf
|
|
files:
|
|
- path: etc/containerd/config.toml
|
|
contents: |
|
|
state = "/run/containerd"
|
|
root = "/var/lib/containerd"
|
|
snapshotter = "io.containerd.snapshotter.v1.overlayfs"
|
|
differ = "io.containerd.differ.v1.base-diff"
|
|
subreaper = false
|
|
|
|
[grpc]
|
|
address = "/run/containerd/containerd.sock"
|
|
uid = 0
|
|
gid = 0
|
|
|
|
[debug]
|
|
address = "/run/containerd/debug.sock"
|
|
level = "info"
|
|
|
|
[metrics]
|
|
address = ":13337"
|
|
- path: etc/linuxkit-config
|
|
metadata: yaml
|
|
trust:
|
|
org:
|
|
- linuxkit
|
|
- library
|