mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-15 21:00:14 +00:00
60 lines
1.6 KiB
YAML
60 lines
1.6 KiB
YAML
kernel:
|
|
image: linuxkit/kernel:4.9.54
|
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
|
init:
|
|
- linuxkit/init:9d1b4ebe1bc8d9e52147c440efa16f2d8677d967
|
|
- linuxkit/runc:1f0edd2e25046389eb556551b99424cff86398c8
|
|
- linuxkit/containerd:097c6989255068b563e6e6f7b46a866ae4a3bc82
|
|
- linuxkit/ca-certificates:ea3c4c120f929f4f07ac8535d75933365b5e9582
|
|
onboot:
|
|
- name: sysctl
|
|
image: linuxkit/sysctl:53f0c724919e8f76ea06c44ee703330290b22669
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:aa685261ceb2557990dcfe9dd8824c6b9ec416e2
|
|
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:7abaf7b276c59f80891d92e9279e3e3ee8e2f512
|
|
env:
|
|
- INSECURE=true
|
|
- name: rngd
|
|
image: linuxkit/rngd:719e087b06dd14c29acd23fa07cccd036bbab4db
|
|
- name: nginx
|
|
image: nginx:alpine
|
|
capabilities:
|
|
- CAP_NET_BIND_SERVICE
|
|
- CAP_CHOWN
|
|
- CAP_SETUID
|
|
- CAP_SETGID
|
|
- CAP_DAC_OVERRIDE
|
|
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
|