mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-10-30 17:08:34 +00:00
30 lines
997 B
YAML
30 lines
997 B
YAML
# Minimal YAML to run a redis server (used at DockerCon'17)
|
|
# connect: nc localhost 6379
|
|
kernel:
|
|
image: linuxkit/kernel:6.6.13
|
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
|
init:
|
|
- linuxkit/init:bf45651001f871323d70b746330e8c2a94f767e6
|
|
- linuxkit/runc:ab0b50b622b8e34031b6bb8b18497100a558a11d
|
|
- linuxkit/containerd:c85f857bb3ed72b91509df20d1b9b3e430160074
|
|
onboot:
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:f67a935a3768da88a5d8252188e71b65f0feadf7
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
services:
|
|
- name: getty
|
|
image: linuxkit/getty:76554bbf9f667205c78ce589c55100376fa16e28
|
|
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
|