Skip to content

Commit

Permalink
Add section about conflict with snap version of docker
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGuit authored Nov 27, 2024
1 parent dd55643 commit ac39420
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions content/manuals/engine/daemon/troubleshoot.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ac39420

Please sign in to comment.