mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-29 00:32:08 +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.47
|
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
|
init:
|
|
- linuxkit/init:6d11a1f9d299d3425e78cce80dfba8b236d20412
|
|
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
|
- linuxkit/containerd:7d97282aebe36040fcdd3378a95562d440d34a9d
|
|
onboot:
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:f3f5413abb78fae9020e35bd4788fa93df4530b7
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
services:
|
|
- name: getty
|
|
image: linuxkit/getty:797cb79e0a229fcd16ebf44a0da74bcec03968ec
|
|
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
|