mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-01 21:31:09 +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.66
|
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
|
init:
|
|
- linuxkit/init:7357177a8be310e40fef7424305a72c198e857c4
|
|
- linuxkit/runc:1b0741d07949c0acc444cd6a04ee7f833443579d
|
|
- linuxkit/containerd:737e4b004e28510d2dd504942b80fa5ffa409315
|
|
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
|