Files
linuxkit/examples/linuxkit.yml
Justin Cormack dff6dc2876 Used shared init with LinuxKit
With https://github.com/linuxkit/linuxkit/pull/2500 the init script
can be used for both bare metal and in Docker.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-09-18 13:11:37 -07:00

18 lines
475 B
YAML

kernel:
image: "linuxkit/kernel:4.9.41"
cmdline: "console=ttyS0"
onboot:
- name: dhcpcd
image: "linuxkit/dhcpcd:f3f5413abb78fae9020e35bd4788fa93df4530b7"
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
- name: getty
image: linuxkit/getty:797cb79e0a229fcd16ebf44a0da74bcec03968ec
env:
- INSECURE=true
- name: rngd
image: "linuxkit/rngd:558e86a36242bb74353bc9287b715ddb8567357e"
trust:
org:
- linuxkit