mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-03 05:11:37 +00:00
34 lines
1.0 KiB
YAML
34 lines
1.0 KiB
YAML
# Minimal YAML to run a redis server (used at DockerCon'17)
|
|
# connect: nc localhost 6379
|
|
kernel:
|
|
image: linuxkit/kernel:4.14.54
|
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
|
init:
|
|
- linuxkit/init:317b039710f39b0263981cff25cf873043baf561
|
|
- linuxkit/runc:01b4f0706d999f9065ef44492689e43d0bcd83c5
|
|
- linuxkit/containerd:9924cc405996bc43a61e050e70284372d2cb09b8
|
|
onboot:
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:0aa201ad1a4c134f0ed6ab2cec23602d5ee73d7f
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
services:
|
|
- name: getty
|
|
image: linuxkit/getty:3763a7fc3fddedc185bbd6f7f583f729e57fbeda
|
|
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
|