kernel: image: linuxkit/kernel:4.9.61 cmdline: "console=ttyS0 page_poison=1" init: - linuxkit/init:42a92119e1ca10380e0d33e26c0cbcf85b9b3558 - linuxkit/runc:817fdc592eac6cb7804fa1721a43a7f6e23fb50f - linuxkit/containerd:bfb61cc1d26c39cd4b2bc08f7a9963fefa0ef3bf - linuxkit/ca-certificates:af4880e78edc28743f7c5e262678c67c6add4c26 onboot: - name: sysctl image: linuxkit/sysctl:a9ad57ed738a31ea9380cd73236866c312b35489 binds: - /etc/sysctl.d/01-swarmd.conf:/etc/sysctl.d/01-swarmd.conf - name: dhcpcd image: linuxkit/dhcpcd:48831507404049660b960e4055f544917d90378e command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"] - name: format image: linuxkit/format:10e75e78e1f134d310c62e9a0352df1c67b0dd81 - name: mount image: linuxkit/mount:41685ecc8039643948e5dff46e17584753469a7a command: ["/usr/bin/mountie", "/var/lib/swarmd"] - name: metadata image: linuxkit/metadata:9506d124d0a3ff645c9781c47f207423abf6154d services: - name: getty image: linuxkit/getty:6af22c32c98536a79230eef000e9abd06b037faa env: - INSECURE=true - name: qemu-ga image: linuxkit/qemu-ga:4152b81a19db95eebdc73879fd01575e2c77a88a binds: - /dev/vport0p1:/dev/vport0p1 - name: rngd image: linuxkit/rngd:842e5e8ece7934f0cab9fd0027b595ff3471e5b9 - name: ntpd image: linuxkit/openntpd:07a80c3e3e816658318ac027e1253ff9a228b8de - name: weave image: weaveworks/weave:2.0.1@sha256:2d70caac7db33365482cc923d40ff8d3ec1238ae7fe06a00b3dde310d09f226e # Must match swarmd/Dockerfile command: ["/bin/sh", "/home/weave/weaver-wrapper"] capabilities: - all pid: host binds: - /usr/local/bin/weaver-wrapper:/home/weave/weaver-wrapper - /var:/var - /var/lib/swarmd:/weavedb - name: swarmd image: linuxkitprojects/swarmd:8c034e2862d3a0fce1e445511a69c4330a1d4dd5 command: ["/usr/bin/swarmd", "--containerd-addr=/run/containerd/containerd.sock", "--log-level=debug", "--state-dir=/var/lib/swarmd"] capabilities: - all pid: host binds: - /tmp:/tmp - /run/containerd/containerd.sock:/run/containerd/containerd.sock - /var/lib/containerd:/var/lib/containerd - /var/lib/swarmd:/var/lib/swarmd - /etc/resolv.conf:/etc/resolv.conf files: - path: /etc/sysctl.d/01-swarmd.conf contents: 'net.ipv4.ip_forward = 1' - path: usr/local/bin/weaver-wrapper contents: | /home/weave/weaver \ --weave-bridge=weave \ --datapath=datapath \ --docker-api="" \ --ipalloc-range=192.168.106.0/24 \ --http-addr=127.0.0.1:6784 \ --status-addr=127.0.0.1:6782 & while [ ! -e /sys/class/net/weave/ ] ; do sleep 1s done /home/weave/weave --local expose net:default wait %1