diff --git a/content/manuals/engine/daemon/troubleshoot.md b/content/manuals/engine/daemon/troubleshoot.md index 7b68c88fb04a..c07a555426de 100644 --- a/content/manuals/engine/daemon/troubleshoot.md +++ b/content/manuals/engine/daemon/troubleshoot.md @@ -74,6 +74,27 @@ If `DOCKER_HOST` is set as intended, verify that the Docker daemon is running on the remote host and that a firewall or network outage isn't preventing you from connecting. +### Check if you don't have Docker install with snap + +If you are not able to connect to docker, perhaps you have 2 versions of docker installed, standard package distribution (APT, Yum, ...) and Snap version. + +```console +snap list | grep docker +``` + +If you have this kind of result : +```text +docker 27.2.0 2963 latest/stable canonical** - +``` + +Disable and remove the snap : +```console +sudo snap disable docker && sudo snap remove docker --purge +``` + +Then reboot. + + ### Troubleshoot conflicts between the `daemon.json` and startup scripts If you use a `daemon.json` file and also pass options to the `dockerd` command