Skip to content

Commit e52f8a4

Browse files
committed
Add section about conflict with snap version of docker
1 parent 231f97c commit e52f8a4

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

content/manuals/engine/daemon/troubleshoot.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ This error may indicate:
3535
running the command again.
3636
- Your Docker client is attempting to connect to a Docker daemon on a different
3737
host, and that host is unreachable.
38+
- You have multiple Docker engine that run on your system (eg. snap & docker-ce).
3839

3940
### Check whether Docker is running
4041

content/manuals/engine/install/ubuntu.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,26 @@ automatically removed when you uninstall Docker. If you want to start with a
9898
clean installation, and prefer to clean up any existing data, read the
9999
[uninstall Docker Engine](#uninstall-docker-engine) section.
100100

101+
#### Uninstall snap version
102+
103+
Verify if you have snap version of Docker :
104+
105+
```console
106+
snap list | grep docker
107+
```
108+
109+
If you have this kind of result :
110+
```text
111+
docker 27.2.0 2963 latest/stable canonical** -
112+
```
113+
114+
Disable and remove the snap :
115+
```console
116+
sudo snap disable docker && sudo snap remove docker --purge
117+
```
118+
119+
Then reboot.
120+
101121
## Installation methods
102122

103123
You can install Docker Engine in different ways, depending on your needs:

0 commit comments

Comments
 (0)