mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-10-12 14:49:12 +00:00
34 lines
1023 B
YAML
34 lines
1023 B
YAML
# Minimal YAML to run a redis server (used at DockerCon'17)
|
|
# connect: nc localhost 6379
|
|
kernel:
|
|
image: linuxkit/kernel:4.9.76
|
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
|
init:
|
|
- linuxkit/init:f7a3d03face99e933626533a3381ae4476fbc8de
|
|
- linuxkit/runc:7b15b00b4e3507d62e3ed8d44dfe650561cd35ff
|
|
- linuxkit/containerd:1b6b8a5884e17b26e2725cb82c436841070fca95
|
|
onboot:
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:0d59a6cc03412289ef4313f2491ec666c1715cc9
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
services:
|
|
- name: getty
|
|
image: linuxkit/getty:22e27189b6b354e1d5d38fc0536a5af3f2adb79f
|
|
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
|