Skip to content

Commit ac39420

Browse files
authored
Add section about conflict with snap version of docker
1 parent dd55643 commit ac39420

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

content/manuals/engine/daemon/troubleshoot.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,27 @@ If `DOCKER_HOST` is set as intended, verify that the Docker daemon is running on
7474
the remote host and that a firewall or network outage isn't preventing you from
7575
connecting.
7676

77+
### Check if you don't have Docker install with snap
78+
79+
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.
80+
81+
```console
82+
snap list | grep docker
83+
```
84+
85+
If you have this kind of result :
86+
```text
87+
docker 27.2.0 2963 latest/stable canonical** -
88+
```
89+
90+
Disable and remove the snap :
91+
```console
92+
sudo snap disable docker && sudo snap remove docker --purge
93+
```
94+
95+
Then reboot.
96+
97+
7798
### Troubleshoot conflicts between the `daemon.json` and startup scripts
7899

79100
If you use a `daemon.json` file and also pass options to the `dockerd` command

0 commit comments

Comments
 (0)