Noticed your hack script uses systemd with --privileged.
When doing so, systemd likes to change some things on the host.
Running systemd+dind I have had luck with:
--security-opt seccomp:unconfined \
--security-opt apparmor:unconfined \
--security-opt label:disabled \
--cap-add SYS_ADMIN \
--cap-add NET_ADMIN \
-e container=docker \
--tmpfs /tmp \
--tmpfs /run \
--tmpfs /run/lock \
-v /sys/fs/cgroup:/sys/fs/cgroup:ro
There doesn't seem like there's any disruptive changes on the host with this configuration.
Noticed your hack script uses systemd with
--privileged.When doing so, systemd likes to change some things on the host.
Running systemd+dind I have had luck with:
There doesn't seem like there's any disruptive changes on the host with this configuration.