Update Docker Setup
parent
1b156ea4f7
commit
eb08abfbd8
1 changed files with 11 additions and 0 deletions
|
|
@ -56,3 +56,14 @@ docker run hello-world
|
||||||
|
|
||||||
## Uninstall Docker
|
## Uninstall Docker
|
||||||
|
|
||||||
|
1. Use the apt purge command to uninstall the Docker-related packages:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo apt purge docker-ce docker-ce-cli containerd.io
|
||||||
|
```
|
||||||
|
|
||||||
|
2. To delete leftover data, run the following command:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo rm -rf /var/lib/docker
|
||||||
|
```
|
||||||
Loading…
Add table
Add a link
Reference in a new issue