mirror of https://github.com/docker/docs.git
engine/install: fix indentation in debian, raspberry-pi-os
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
3a12814361
commit
a23d62139a
|
@ -250,26 +250,26 @@ To upgrade Docker Engine, download the newer package files and repeat the
|
||||||
|
|
||||||
## Uninstall Docker Engine
|
## Uninstall Docker Engine
|
||||||
|
|
||||||
1. Uninstall the Docker Engine, CLI, containerd, and Docker Compose packages:
|
1. Uninstall the Docker Engine, CLI, containerd, and Docker Compose packages:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ sudo apt-get purge docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin docker-ce-rootless-extras
|
$ sudo apt-get purge docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin docker-ce-rootless-extras
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Images, containers, volumes, or custom configuration files on your host
|
2. Images, containers, volumes, or custom configuration files on your host
|
||||||
aren't automatically removed. To delete all images, containers, and volumes:
|
aren't automatically removed. To delete all images, containers, and volumes:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ sudo rm -rf /var/lib/docker
|
$ sudo rm -rf /var/lib/docker
|
||||||
$ sudo rm -rf /var/lib/containerd
|
$ sudo rm -rf /var/lib/containerd
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Remove source list and keyrings
|
3. Remove source list and keyrings
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ sudo rm /etc/apt/sources.list.d/docker.list
|
$ sudo rm /etc/apt/sources.list.d/docker.list
|
||||||
$ sudo rm /etc/apt/keyrings/docker.asc
|
$ sudo rm /etc/apt/keyrings/docker.asc
|
||||||
```
|
```
|
||||||
|
|
||||||
You have to delete any edited configuration files manually.
|
You have to delete any edited configuration files manually.
|
||||||
|
|
||||||
|
|
|
@ -238,19 +238,19 @@ To upgrade Docker Engine, download the newer package files and repeat the
|
||||||
|
|
||||||
## Uninstall Docker Engine
|
## Uninstall Docker Engine
|
||||||
|
|
||||||
1. Uninstall the Docker Engine, CLI, containerd, and Docker Compose packages:
|
1. Uninstall the Docker Engine, CLI, containerd, and Docker Compose packages:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ sudo apt-get purge docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin docker-ce-rootless-extras
|
$ sudo apt-get purge docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin docker-ce-rootless-extras
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Images, containers, volumes, or custom configuration files on your host
|
2. Images, containers, volumes, or custom configuration files on your host
|
||||||
aren't automatically removed. To delete all images, containers, and volumes:
|
aren't automatically removed. To delete all images, containers, and volumes:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ sudo rm -rf /var/lib/docker
|
$ sudo rm -rf /var/lib/docker
|
||||||
$ sudo rm -rf /var/lib/containerd
|
$ sudo rm -rf /var/lib/containerd
|
||||||
```
|
```
|
||||||
|
|
||||||
You have to delete any edited configuration files manually.
|
You have to delete any edited configuration files manually.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue