mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-13 15:17:37 +00:00
This means more users will see console output at boot time. Remove page poison from example CLIs, we should document this elsewhere and put in blueprints. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
33 lines
896 B
YAML
33 lines
896 B
YAML
# Minimal YAML to run a redis server (used at DockerCon'17)
|
|
# connect: nc localhost 6379
|
|
kernel:
|
|
image: linuxkit/kernel:4.9.36
|
|
cmdline: "console=tty0 console=ttyS0"
|
|
init:
|
|
- linuxkit/init:14a38303ee9dcb4541c00e2b87404befc1ba2083
|
|
- linuxkit/runc:2310ad9d266cf5d9c4d07613bd2135ed7eb8a21f
|
|
- linuxkit/containerd:c977f27c234d55b85172813b8451f67ea86be4a3
|
|
onboot:
|
|
- name: dhcpcd
|
|
image: linuxkit/dhcpcd:4b7b8bb024cebb1bbb9c8026d44d7cbc8e202c41
|
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
|
services:
|
|
- name: getty
|
|
image: linuxkit/getty:5ab31289889d61a5d2ecbeea8e36ce74ac54737c
|
|
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
|