# 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:a626edd428b575d10b994be0d4c5b034838e9946 - linuxkit/runc:4a35484aa6f90a1f06cdf1fb36f7056926a084b9 - linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385 onboot: - name: dhcpcd image: linuxkit/dhcpcd:4b7b8bb024cebb1bbb9c8026d44d7cbc8e202c41 command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"] services: - name: getty image: linuxkit/getty:0bd92d5f906491c20e4177c57f965338fe5a8c5f 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