mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-03 00:23:48 +00:00
33 lines
912 B
YAML
33 lines
912 B
YAML
# Minimal YAML to run a redis server (used at DockerCon'17)
|
|
# connect: nc localhost 6379
|
|
kernel:
|
|
image: linuxkit/kernel:4.9.54
|
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
|
init:
|
|
- linuxkit/init:98e95fb67e8afcf02c09ba927e4b357fec42977a
|
|
- linuxkit/runc:991ef358ad8fc1111d64f4d8071f2009cc561f6a
|
|
- linuxkit/containerd:eaf0d615cfceb9d854408dd3c80429ee8ac4d051
|
|
onboot:
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:aa685261ceb2557990dcfe9dd8824c6b9ec416e2
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
services:
|
|
- name: getty
|
|
image: linuxkit/getty:7abaf7b276c59f80891d92e9279e3e3ee8e2f512
|
|
env:
|
|
- INSECURE=true
|
|
- name: redis
|
|
image: redis:3.0.7-alpine
|
|
capabilities:
|
|
- CAP_NET_BIND_SERVICE
|
|
- CAP_CHOWN
|
|
- CAP_SETUID
|
|
- CAP_SETGID
|
|
- CAP_DAC_OVERRIDE
|
|
net: host
|
|
trust:
|
|
org:
|
|
- linuxkit
|
|
image:
|
|
- redis:3.0.7-alpine
|