If you have any systemd-docker-managed containers running and restart (or stop and start) dockerd/containerd, the containers are stopped and never restarted. Adding docker.service to the WantedBy= statement in the [Install] section of the container service unit file seems to solve the problem so that may be worth adding to the README.
If you have any systemd-docker-managed containers running and restart (or stop and start) dockerd/containerd, the containers are stopped and never restarted. Adding
docker.serviceto theWantedBy=statement in the[Install]section of the container service unit file seems to solve the problem so that may be worth adding to the README.