engine/install: Debian: align wording with other distros

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2023-05-04 10:03:41 +02:00
parent 0271d14800
commit a46f04630f
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
1 changed files with 12 additions and 11 deletions

View File

@ -30,24 +30,25 @@ Raspbian versions:
- Raspbian Bullseye 11 (stable)
- Raspbian Buster 10 (oldstable)
Docker Engine is compatible with `x86_64` (or `amd64`), `armhf`, and `arm64`
Docker Engine is compatible with x86_64 (or amd64), armhf, and arm64
architectures.
### Uninstall old versions
Older versions of Docker went by the names of `docker`, `docker.io`, or
`docker-engine`. Uninstall any such older versions before attempting to install
`docker-engine`, you might also have installations of `containerd` or `runc`.
Uninstall any such older versions before attempting to install
a new version:
```console
$ sudo apt-get remove docker docker-engine docker.io containerd runc
```
It's OK if `apt-get` reports that none of these packages are installed.
`apt-get` might report that you have none of these packages installed.
Images, containers, volumes, and networks stored in `/var/lib/docker/` aren't
automatically removed when you uninstall Docker. If you want to start with a
clean installation, and prefer to clean up any existing data, refer to the
clean installation, and prefer to clean up any existing data, read the
[uninstall Docker Engine](#uninstall-docker-engine) section.
## Installation methods
@ -58,16 +59,16 @@ You can install Docker Engine in different ways, depending on your needs:
[Docker Desktop for Linux](../../desktop/install/linux-install.md). This is
the easiest and quickest way to get started.
- You can also set up and install Docker Engine from
- Set up and install Docker Engine from
[Docker's `apt` repository](#install-using-the-repository).
- [Install it manually](#install-from-a-package) and manage upgrades manually.
- Using a [convenience scripts](#install-using-the-convenience-script). Only
- Use a [convenience scripts](#install-using-the-convenience-script). Only
recommended for testing and development environments. This is the only
approach available for Raspbian.
### Install using the repository
### Install using the apt repository {#install-using-the-repository}
Before you install Docker Engine for the first time on a new host machine, you
need to set up the Docker repository. Afterward, you can install and update
@ -137,7 +138,7 @@ Raspbian.
</div>
<div id="tab-version" class="tab-pane fade" markdown="1">
To install a specific version of Docker Engine, start by list the available
To install a specific version of Docker Engine, start by listing the available
versions in the repository:
```console
@ -233,8 +234,8 @@ You have now successfully installed and started Docker Engine.
#### Upgrade Docker Engine
To upgrade Docker Engine, download the newer package file and repeat the
[installation procedure](#install-from-a-package), pointing to the new file.
To upgrade Docker Engine, download the newer package files and repeat the
[installation procedure](#install-from-a-package), pointing to the new files.
{% include install-script.md %}
@ -254,7 +255,7 @@ To upgrade Docker Engine, download the newer package file and repeat the
$ sudo rm -rf /var/lib/containerd
```
You must delete any edited configuration files manually.
You have to delete any edited configuration files manually.
## Next steps