mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-25 11:22:32 +00:00
There is a hopefully temporary error with nginx:alpine not being available for amd64. Pick a version which is... Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
48 lines
1.3 KiB
YAML
48 lines
1.3 KiB
YAML
kernel:
|
|
image: linuxkit/kernel:4.14.20
|
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
|
init:
|
|
- linuxkit/init:d899eee3560a40aa3b4bdd67b3bb82703714b2b9
|
|
- linuxkit/runc:7c39a68490a12cde830e1922f171c451fb08e731
|
|
- linuxkit/containerd:37e397ebfc6bd5d8e18695b121166ffd0cbfd9f0
|
|
- 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
|
|
runtime:
|
|
mounts:
|
|
# Makes a writeable (but private and non-persistent) mount of the
|
|
# host etc into the container.
|
|
- type: overlay
|
|
source: overlay
|
|
destination: writeable-host-etc
|
|
options: ["rw", "lowerdir=/etc", "upperdir=/run/hostetc/upper", "workdir=/run/hostetc/work"]
|
|
- name: rngd
|
|
image: linuxkit/rngd:v0.2
|
|
- 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
|
|
trust:
|
|
org:
|
|
- linuxkit
|
|
- library
|