engine/install: fix indentation in debian, raspberry-pi-os

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2024-11-08 13:15:31 +01:00
parent 3a12814361
commit a23d62139a
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
2 changed files with 25 additions and 25 deletions

View File

@ -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.

View File

@ -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.