mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-01 10:27:55 +00:00
- Use the new style kernel tags with the full kernel version - Update packages with new alpine base and new/simplified Makefiles. Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
33 lines
918 B
YAML
33 lines
918 B
YAML
# Minimal YAML to run a redis server (used at DockerCon'17)
|
|
# connect: nc localhost 6379
|
|
kernel:
|
|
image: "linuxkit/kernel:4.9.34"
|
|
cmdline: "console=ttyS0 console=tty0 page_poison=1"
|
|
init:
|
|
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
|
|
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
|
|
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
|
|
onboot:
|
|
- name: dhcpcd
|
|
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
services:
|
|
- name: getty
|
|
image: "linuxkit/getty:6cbeee0392b0670053ce2bf05a5a0d67ec2bce05"
|
|
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
|