Files
linuxkit/examples/docker.yml
Krister Johansen 45222dfaaf Move init image to fbcbbe3ace0b3e9455300017dd07625293a0d4d4.
This attempts to work around a CI issue where we're running out of disk
space when rebuilding the init package.

Signed-off-by: Krister Johansen <krister.johansen@oracle.com>
2018-06-11 08:29:20 -07:00

53 lines
1.4 KiB
YAML

kernel:
image: linuxkit/kernel:4.14.48
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
init:
- linuxkit/init:fbcbbe3ace0b3e9455300017dd07625293a0d4d4
- linuxkit/runc:v0.4
- linuxkit/containerd:72df922e49a363a4ad53d88cd1a8a3ae4d41086f
- linuxkit/ca-certificates:v0.4
onboot:
- name: sysctl
image: linuxkit/sysctl:v0.4
- name: sysfs
image: linuxkit/sysfs:v0.4
- name: format
image: linuxkit/format:v0.4
- name: mount
image: linuxkit/mount:v0.4
command: ["/usr/bin/mountie", "/var/lib/docker"]
services:
- name: getty
image: linuxkit/getty:44730fd0a7c59dbacf5b48b54ba33f551bcf7ef0
env:
- INSECURE=true
- name: rngd
image: linuxkit/rngd:v0.4
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
- name: ntpd
image: linuxkit/openntpd:v0.4
- name: docker
image: docker:17.09.0-ce-dind
capabilities:
- all
net: host
mounts:
- type: cgroup
options: ["rw","nosuid","noexec","nodev","relatime"]
binds:
- /etc/resolv.conf:/etc/resolv.conf
- /var/lib/docker:/var/lib/docker
- /lib/modules:/lib/modules
- /etc/docker/daemon.json:/etc/docker/daemon.json
command: ["/usr/local/bin/docker-init", "/usr/local/bin/dockerd"]
files:
- path: var/lib/docker
directory: true
- path: etc/docker/daemon.json
contents: '{"debug": true}'
trust:
org:
- linuxkit
- library