Skip to content

Commit fa6ba36

Browse files
fix(post): Added docker uninstall commands
1 parent 3aea2fb commit fa6ba36

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

_posts/2021-09-03-docker-compose-install.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ tags: homelab docker-docker-compose
88

99
## Install Docker
1010

11+
If you have an existing version of Docker install, it might be best to remove it first. See the cleaning up section at the end
12+
1113
```bash
1214
sudo apt-get update
1315
sudo apt-get install \
@@ -60,4 +62,13 @@ docker-compose -v
6062
```bash
6163
sudo usermod -aG docker $USER
6264
```
63-
You'll need to log out then back in to apply this
65+
66+
You'll need to log out then back in to apply this
67+
68+
## Cleaning Up
69+
70+
If you need to uninstall Docker, run the following
71+
72+
```bash
73+
sudo apt-get remove docker docker-engine docker.io containerd runc
74+
```

0 commit comments

Comments
 (0)