# Minimal YAML to run a redis server (used at DockerCon'17) # connect: nc localhost 6379 kernel: image: linuxkit/kernel:6.6.71 cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0" init: - linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b - linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9 - linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d onboot: - name: dhcpcd image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5 command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"] services: - name: getty image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967 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