mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-03 01:19:40 +00:00
30 lines
999 B
YAML
30 lines
999 B
YAML
# Minimal YAML to run a redis server (used at DockerCon'17)
|
|
# connect: nc localhost 6379
|
|
kernel:
|
|
image: linuxkit/kernel:5.10.104
|
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
|
init:
|
|
- linuxkit/init:07d37c3ae7fad5ddcb54c8dc65774ae050851f04
|
|
- linuxkit/runc:2aabf16bc8a1b94e015ee53fa2e7a77ab1883a80
|
|
- linuxkit/containerd:95d5f0d2d8dc63bd87e96b7b39cf026cb86125c9
|
|
onboot:
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:2a8ed08fea442909ba10f950d458191ed3647115
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
services:
|
|
- name: getty
|
|
image: linuxkit/getty:e74e6cad132403d1a6d6cd25b136a7c69c99f3f7
|
|
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
|