mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-10-16 03:46:37 +00:00
On z platform, the kernel console is ttysclp0. Signed-off-by: Alice Frosi <alice@linux.vnet.ibm.com>
34 lines
969 B
YAML
34 lines
969 B
YAML
# Minimal YAML to run a redis server (used at DockerCon'17)
|
|
# connect: nc localhost 6379
|
|
kernel:
|
|
image: linuxkit/kernel:4.14.23
|
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
|
init:
|
|
- linuxkit/init:b212cfeb4bb6330e0a7547d8010fe2e8489b677a
|
|
- linuxkit/runc:7c39a68490a12cde830e1922f171c451fb08e731
|
|
- linuxkit/containerd:37e397ebfc6bd5d8e18695b121166ffd0cbfd9f0
|
|
onboot:
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:v0.2
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
services:
|
|
- name: getty
|
|
image: linuxkit/getty:v0.2
|
|
env:
|
|
- INSECURE=true
|
|
# Currently redis:4.0.6-alpine has trust issue with multi-arch
|
|
# https://github.com/docker-library/official-images/issues/3794
|
|
- name: redis
|
|
image: redis:4.0.5-alpine
|
|
capabilities:
|
|
- CAP_NET_BIND_SERVICE
|
|
- CAP_CHOWN
|
|
- CAP_SETUID
|
|
- CAP_SETGID
|
|
- CAP_DAC_OVERRIDE
|
|
net: host
|
|
trust:
|
|
org:
|
|
- linuxkit
|
|
- library
|