Files
linuxkit/examples/redis-os.yml
Rolf Neugebauer 6ab6467d78 Switch the default kernel to 4.19.x
4.19.x is the new LTS kernel and has been out for a while. Switch
all examples and tests to using it instead of the 4.14.x kernel.

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2019-01-16 16:30:24 +00:00

34 lines
1005 B
YAML

# Minimal YAML to run a redis server (used at DockerCon'17)
# connect: nc localhost 6379
kernel:
image: linuxkit/kernel:4.19.14
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
init:
- linuxkit/init:e0dced91adbfba34c53cd673760e011f410638ff
- linuxkit/runc:b87c49e73eb14ba73d23eabf75423e987a043209
- linuxkit/containerd:cf158d5f56c5b4867f29f0fc3ec49ea505e99333
onboot:
- name: dhcpcd
image: linuxkit/dhcpcd:v0.6
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
- name: getty
image: linuxkit/getty:2eb742cd7a68e14cf50577c02f30147bc406e478
env:
- INSECURE=true
# Currently redis:4.0.6-alpine has trust issue with multi-arch
# https://github.com/docker-library/official-images/issues/3794
- name: redis
image: redis:4.0.5-alpine
capabilities:
- CAP_NET_BIND_SERVICE
- CAP_CHOWN
- CAP_SETUID
- CAP_SETGID
- CAP_DAC_OVERRIDE
net: host
trust:
org:
- linuxkit
- library