kernel: image: linuxkit/kernel:4.9.36 cmdline: "console=ttyS0 page_poison=1" init: - linuxkit/init:a626edd428b575d10b994be0d4c5b034838e9946 - linuxkit/runc:4a35484aa6f90a1f06cdf1fb36f7056926a084b9 - linuxkit/containerd:b6ffbb669248e3369081a6c4427026aa968a2385 - linuxkit/ca-certificates:67acf038c44bb191ebb704ec7bb39a1524052cdf onboot: - name: sysctl image: linuxkit/sysctl:d1a43c7c91e92374766f962dc8534cf9508756b0 binds: - /etc/sysctl.d/01-swarmd.conf:/etc/sysctl.d/01-swarmd.conf - name: dhcpcd image: linuxkit/dhcpcd:4b7b8bb024cebb1bbb9c8026d44d7cbc8e202c41 command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"] - name: format image: linuxkit/format:84a997e69051a1bf05b7c1926ab785bb07932954 - name: mount image: linuxkit/mount:ac8939c4102f97c084d9ddfd445c1908fce6d768 command: ["/mount.sh", "/var/lib/swarmd"] - name: metadata image: linuxkit/metadata:f122f1b4e873f1d08cd67bd9105385fd923af0cb services: - name: getty image: linuxkit/getty:9f27c1272b6d128c9a09745e916f151d09cb0d27 env: - INSECURE=true - name: qemu-ga image: linuxkit/qemu-ga:585e4f0161a4df7583d5e0479d7621040c1ee140 binds: - /dev/vport0p1:/dev/vport0p1 - name: rngd image: linuxkit/rngd:1516d5d70683a5d925fe475eb1b6164a2f67ac3b - name: ntpd image: linuxkit/openntpd:19370f5d9bec84eb91073b7196b732f1301d9c90 - name: weave image: weaveworks/weave@sha256:05172329b6ff72099db7bb891ac311b89948a3064ca9b8641c6b4abe38548677 # 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:1cd4c061cc7327750d2a12c267db6d4d9e26b1d3 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