Failed to start docker.service - Docker Application Container Engine. on Debian 12 bookworm

I’m not able to start the Docker daemon on my Debian 12 with the following command:

systemctl start docker

I got the error: “Failed to start docker.service - Docker Application Container Engine.”

I stopped and disabled iptables, and /etc/docker/ is empty. I reinstalled Docker.

This will not be enough to help. Docker has much more logs when it fails, that could explain what happened actually. You can also enable debug logs in the daemon config (searching for dockerd config reference can help if you don’t know how)

You can share the logs, but please, use </> button to share codes, terminal outputs, error messages instead of sharing screenshots. That helps others to search for similar issues and us to read it more easily and quote parts of the message so we can help you more quickly. You can find a complete guide in the following post: How to format your forum posts

Thanks.

Yes, running dockerd --debug helps me to find the problem, what the bridge network name (networks have the same bridge name) so I ran these commands:

rm -rf /var/lib/docker/network
ip link set docker0 down # down interface
ip link delete docker0 # delete the interface
systemctl restart docker

I don’t understand it. Did you have another Docker daemon installed on the same machine?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.