mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-13 18:27:08 +00:00
62 lines
1.7 KiB
YAML
62 lines
1.7 KiB
YAML
kernel:
|
|
image: linuxkit/kernel:4.14.31
|
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
|
init:
|
|
- linuxkit/init:7af4e32f31f04d6c63d457c502d2f69344db7d72
|
|
- linuxkit/runc:e4b01b68b225d694a60f8b335258bd2144971239
|
|
- linuxkit/containerd:d03b69c7d23fdae0fec1b6e62a72d362992135df
|
|
- linuxkit/ca-certificates:04a6dc9e5c901ee128c353f690bd97aeb7d97ae8
|
|
onboot:
|
|
- name: sysctl
|
|
image: linuxkit/sysctl:e7106b5e3db64a9ec21eb1479727627ecf52137d
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:8b23f047ffa4d657a2c7dd465e69cc13721c4165
|
|
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:9e2c184fdd708720d47e663f03ad137c074d4f21
|
|
env:
|
|
- INSECURE=true
|
|
- name: rngd
|
|
image: linuxkit/rngd:8bcfb9a90470161a04f25e58407852a3d1ad499a
|
|
- name: nginx
|
|
image: nginx:1.13.8-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
|