mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-01 21:31:09 +00:00
33 lines
896 B
YAML
33 lines
896 B
YAML
# Minimal YAML to run a redis server (used at DockerCon'17)
|
|
# connect: nc localhost 6379
|
|
kernel:
|
|
image: linuxkit/kernel:4.9.39
|
|
cmdline: "console=tty0 console=ttyS0"
|
|
init:
|
|
- linuxkit/init:4dcee04c04c900a5796dc719f8d16fea7e771059
|
|
- linuxkit/runc:f5960b83a8766ae083efc744fa63dbf877450e4f
|
|
- linuxkit/containerd:acd23f7c020e09799e03331e781f35965e19981f
|
|
onboot:
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:17423c1ccced74e3c005fd80486e8177841fe02b
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
services:
|
|
- name: getty
|
|
image: linuxkit/getty:58620cff1b0bf8b5d144d087602115e996f18a02
|
|
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
|