Docker daemon takes 5+ minutes to start with many containers.
AdvancedTroubleshootingDaemon, install and permissions
Answer
Likely causes → Huge number of containers/images/log files, slow disk, live-restore off with many containers to restore, corrupted metadata.
Diagnose →
journalctl -u docker | grep -E 'Loading containers|Restoring'
docker system df
ls /var/lib/docker/containers | wc -l
Fix → Remove dead containers, prune, move to faster disk, enable live-restore.
Prevent → Garbage-collect regularly and cap container churn.
More on Daemon, install and permissions
`Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?`Beginner`permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock`Beginnerdockerd fails to start after editing `daemon.json`: `unable to configure the Docker daemon with file /etc/docker/daemon.json`Intermediate`docker: command not found` right after installing Docker Desktop on macOS.Beginner`docker info` shows `WARNING: bridge-nf-call-iptables is disabled`IntermediateDocker service flaps with `failed to start daemon: Error initializing network controller: ... iptables failed`Intermediate