# Minimal YAML to run a redis server (used at DockerCon'17) # connect: nc localhost 6379 kernel: image: linuxkit/kernel:4.9.64 cmdline: "console=tty0 console=ttyS0 console=ttyAMA0" init: - linuxkit/init:42a92119e1ca10380e0d33e26c0cbcf85b9b3558 - linuxkit/runc:1b0741d07949c0acc444cd6a04ee7f833443579d - linuxkit/containerd:bfb61cc1d26c39cd4b2bc08f7a9963fefa0ef3bf 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