mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-07 15:39:38 +00:00
32 lines
890 B
YAML
32 lines
890 B
YAML
# Minimal YAML to run a redis server (used at DockerCon'17)
|
|
# connect: nc localhost 6379
|
|
kernel:
|
|
image: linuxkit/kernel:4.9.67
|
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
|
init:
|
|
- linuxkit/init:19ab525233763e1740cd3b9d60cd17141d316776
|
|
- linuxkit/runc:1b0741d07949c0acc444cd6a04ee7f833443579d
|
|
- linuxkit/containerd:a25f471a8ca68e75afad7bf84187adbe70513b8d
|
|
onboot:
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:48831507404049660b960e4055f544917d90378e
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
services:
|
|
- name: getty
|
|
image: linuxkit/getty:6af22c32c98536a79230eef000e9abd06b037faa
|
|
env:
|
|
- INSECURE=true
|
|
- name: redis
|
|
image: redis:4.0-alpine
|
|
capabilities:
|
|
- CAP_NET_BIND_SERVICE
|
|
- CAP_CHOWN
|
|
- CAP_SETUID
|
|
- CAP_SETGID
|
|
- CAP_DAC_OVERRIDE
|
|
net: host
|
|
trust:
|
|
org:
|
|
- linuxkit
|
|
- library
|