mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-03 00:41:43 +00:00
33 lines
917 B
YAML
33 lines
917 B
YAML
# Minimal YAML to run a redis server (used at DockerCon'17)
|
|
# connect: nc localhost 6379
|
|
kernel:
|
|
image: "linuxkit/kernel:4.9.x"
|
|
cmdline: "console=ttyS0 console=tty0 page_poison=1"
|
|
init:
|
|
- linuxkit/init:2599bcd5013ce5962aa155ee8929c26160de13bd
|
|
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
|
|
- linuxkit/containerd:b50181bc6e0084e5fcd6b6ad3cf433c4f66cae5a
|
|
onboot:
|
|
- name: dhcpcd
|
|
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
services:
|
|
- name: getty
|
|
image: "linuxkit/getty:148946d72d1c96df3ea91cb8ee4f9583cd3cc5c2"
|
|
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
|