swarmd: Switch to DHCPD container
Follows on from copies stanza from moby.yml but also picks up update
from
kernel:
image: "mobylinux/kernel:4.9.x"
cmdline: "console=ttyS0 console=tty0 page_poison=1"
-init: "mobylinux/init:00c3a5bbfd9794f4a3187fcc4a9f0c826c46d474"
+init: "mobylinux/init:a27e32a8d6c8865d691fbfb4d0bbb93846cf7802"
system:
- name: sysctl
image: "mobylinux/sysctl:2cf2f9d5b4d314ba1bfc22b2fe931924af666d8c"
@@ -23,6 +23,17 @@ daemon:
- CAP_SYS_ADMIN
oomScoreAdj: -800
readonly: true
+ - name: dhcpcd
+ image: "mobylinux/dhcpcd:d01a17d211218f289e2bac601bfe9787d4fabaf2"
+ binds:
+ - /var:/var
+ - /tmp/etc:/etc
+ capabilities:
+ - CAP_NET_ADMIN
+ - CAP_NET_BIND_SERVICE
+ - CAP_NET_RAW
+ net: host
+ oomScoreAdj: -800
- name: swarmd
image: "mobylinux/swarmd:cf11a7626278ebf17efe2780c138b4e626b02c73@sha256:7b31bb4482e6823d2aec291d13782669c22bc03c9fac1dfd7ed207d942c3c061"
command: ["/usr/bin/swarmd", "--containerd-addr=/run/containerd/containerd.sock", "--log-level=debug", "--state-dir=/var/lib/containerd/swarmd"]
