engine/install: sync some wording between distros

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2024-11-08 13:32:52 +01:00
parent 0628e31742
commit 898aa4d2d3
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
7 changed files with 48 additions and 55 deletions

View File

@ -36,9 +36,11 @@ default. If you have disabled it, you need to re-enable it.
### Uninstall old versions ### Uninstall old versions
Older versions of Docker went by `docker` or `docker-engine`. Before you can install Docker Engine, you need to uninstall any conflicting packages.
Uninstall any such older versions before attempting to install a new version,
along with associated dependencies. Your Linux distribution may provide unofficial Docker packages, which may conflict
with the official packages provided by Docker. You must uninstall these packages
before you install the official version of Docker Engine.
```console ```console
$ sudo dnf remove docker \ $ sudo dnf remove docker \
@ -91,7 +93,7 @@ $ sudo dnf config-manager --add-repo {{% param "download-url-base" %}}/docker-ce
#### Install Docker Engine #### Install Docker Engine
1. Install Docker Engine, containerd, and Docker Compose: 1. Install the Docker packages.
{{< tabs >}} {{< tabs >}}
{{< tab name="Latest" >}} {{< tab name="Latest" >}}
@ -152,8 +154,7 @@ $ sudo dnf config-manager --add-repo {{% param "download-url-base" %}}/docker-ce
boot your system. If you don't want Docker to start automatically, use `sudo boot your system. If you don't want Docker to start automatically, use `sudo
systemctl start docker` instead. systemctl start docker` instead.
3. Verify that the Docker Engine installation is successful by running the 3. Verify that the installation is successful by running the `hello-world` image:
`hello-world` image.
```console ```console
$ sudo docker run hello-world $ sudo docker run hello-world
@ -202,8 +203,7 @@ download a new file each time you want to upgrade Docker Engine.
boot your system. If you don't want Docker to start automatically, use `sudo boot your system. If you don't want Docker to start automatically, use `sudo
systemctl start docker` instead. systemctl start docker` instead.
4. Verify that the Docker Engine installation is successful by running the 4. Verify that the installation is successful by running the `hello-world` image:
`hello-world` image.
```console ```console
$ sudo docker run hello-world $ sudo docker run hello-world

View File

@ -52,9 +52,9 @@ and ppc64le (ppc64el) architectures.
Before you can install Docker Engine, you need to uninstall any conflicting packages. Before you can install Docker Engine, you need to uninstall any conflicting packages.
Distro maintainers provide unofficial distributions of Docker packages in Your Linux distribution may provide unofficial Docker packages, which may conflict
their repositories. You must uninstall these packages before you can install the with the official packages provided by Docker. You must uninstall these packages
official version of Docker Engine. before you install the official version of Docker Engine.
The unofficial packages to uninstall are: The unofficial packages to uninstall are:
@ -170,8 +170,7 @@ Docker from the repository.
{{< /tab >}} {{< /tab >}}
{{< /tabs >}} {{< /tabs >}}
3. Verify that the installation is successful by running the `hello-world` 3. Verify that the installation is successful by running the `hello-world` image:
image:
```console ```console
$ sudo docker run hello-world $ sudo docker run hello-world
@ -226,8 +225,7 @@ download a new file each time you want to upgrade Docker Engine.
The Docker daemon starts automatically. The Docker daemon starts automatically.
6. Verify that the Docker Engine installation is successful by running the 6. Verify that the installation is successful by running the `hello-world` image:
`hello-world` image:
```console ```console
$ sudo service docker start $ sudo service docker start

View File

@ -31,9 +31,11 @@ Fedora versions:
### Uninstall old versions ### Uninstall old versions
Older versions of Docker went by `docker` or `docker-engine`. Before you can install Docker Engine, you need to uninstall any conflicting packages.
Uninstall any such older versions before attempting to install a new version,
along with associated dependencies. Your Linux distribution may provide unofficial Docker packages, which may conflict
with the official packages provided by Docker. You must uninstall these packages
before you install the official version of Docker Engine.
```console ```console
$ sudo dnf remove docker \ $ sudo dnf remove docker \
@ -88,7 +90,7 @@ $ sudo dnf-3 config-manager --add-repo {{% param "download-url-base" %}}/docker-
#### Install Docker Engine #### Install Docker Engine
1. Install Docker Engine, containerd, and Docker Compose: 1. Install the Docker packages.
{{< tabs >}} {{< tabs >}}
{{< tab name="Latest" >}} {{< tab name="Latest" >}}
@ -149,8 +151,7 @@ $ sudo dnf-3 config-manager --add-repo {{% param "download-url-base" %}}/docker-
boot your system. If you don't want Docker to start automatically, use `sudo boot your system. If you don't want Docker to start automatically, use `sudo
systemctl start docker` instead. systemctl start docker` instead.
3. Verify that the Docker Engine installation is successful by running the 3. Verify that the installation is successful by running the `hello-world` image:
`hello-world` image.
```console ```console
$ sudo docker run hello-world $ sudo docker run hello-world
@ -199,8 +200,7 @@ download a new file each time you want to upgrade Docker Engine.
boot your system. If you don't want Docker to start automatically, use `sudo boot your system. If you don't want Docker to start automatically, use `sudo
systemctl start docker` instead. systemctl start docker` instead.
4. Verify that the Docker Engine installation is successful by running the 4. Verify that the installation is successful by running the `hello-world` image:
`hello-world` image.
```console ```console
$ sudo docker run hello-world $ sudo docker run hello-world

View File

@ -53,9 +53,9 @@ To install Docker Engine, you need one of the following OS versions:
Before you can install Docker Engine, you need to uninstall any conflicting packages. Before you can install Docker Engine, you need to uninstall any conflicting packages.
Distro maintainers provide an unofficial distributions of Docker packages in Your Linux distribution may provide unofficial Docker packages, which may conflict
APT. You must uninstall these packages before you can install the official with the official packages provided by Docker. You must uninstall these packages
version of Docker Engine. before you install the official version of Docker Engine.
The unofficial packages to uninstall are: The unofficial packages to uninstall are:
@ -158,8 +158,7 @@ Docker from the repository.
{{< /tab >}} {{< /tab >}}
{{< /tabs >}} {{< /tabs >}}
3. Verify that the installation is successful by running the `hello-world` 3. Verify that the installation is successful by running the `hello-world` image:
image:
```console ```console
$ sudo docker run hello-world $ sudo docker run hello-world
@ -214,8 +213,7 @@ download a new file each time you want to upgrade Docker Engine.
The Docker daemon starts automatically. The Docker daemon starts automatically.
6. Verify that the Docker Engine installation is successful by running the 6. Verify that the installation is successful by running the `hello-world` image:
`hello-world` image:
```console ```console
$ sudo service docker start $ sudo service docker start

View File

@ -34,10 +34,11 @@ RHEL versions:
### Uninstall old versions ### Uninstall old versions
Older versions of Docker went by `docker` or `docker-engine`. Before you can install Docker Engine, you need to uninstall any conflicting packages.
Uninstall any such older versions before attempting to install a new version,
along with associated dependencies. Also uninstall `Podman` and the associated Your Linux distribution may provide unofficial Docker packages, which may conflict
dependencies if installed already: with the official packages provided by Docker. You must uninstall these packages
before you install the official version of Docker Engine.
```console ```console
$ sudo dnf remove docker \ $ sudo dnf remove docker \
@ -92,7 +93,7 @@ $ sudo dnf config-manager --add-repo {{% param "download-url-base" %}}/docker-ce
#### Install Docker Engine #### Install Docker Engine
1. Install Docker Engine, containerd, and Docker Compose: 1. Install the Docker packages.
{{< tabs >}} {{< tabs >}}
{{< tab name="Latest" >}} {{< tab name="Latest" >}}
@ -153,8 +154,7 @@ $ sudo dnf config-manager --add-repo {{% param "download-url-base" %}}/docker-ce
boot your system. If you don't want Docker to start automatically, use `sudo boot your system. If you don't want Docker to start automatically, use `sudo
systemctl start docker` instead. systemctl start docker` instead.
3. Verify that the Docker Engine installation is successful by running the 3. Verify that the installation is successful by running the `hello-world` image:
`hello-world` image.
```console ```console
$ sudo docker run hello-world $ sudo docker run hello-world
@ -219,8 +219,7 @@ download a new file each time you want to upgrade Docker Engine.
boot your system. If you don't want Docker to start automatically, use `sudo boot your system. If you don't want Docker to start automatically, use `sudo
systemctl start docker` instead. systemctl start docker` instead.
7. Verify that the Docker Engine installation is successful by running the 7. Verify that the installation is successful by running the `hello-world` image:
`hello-world` image.
```console ```console
$ sudo docker run hello-world $ sudo docker run hello-world

View File

@ -58,9 +58,11 @@ $ sudo zypper addrepo $opensuse_repo
### Uninstall old versions ### Uninstall old versions
Older versions of Docker went by `docker` or `docker-engine`. Before you can install Docker Engine, you need to uninstall any conflicting packages.
Uninstall any such older versions before attempting to install a new version,
along with associated dependencies. Your Linux distribution may provide unofficial Docker packages, which may conflict
with the official packages provided by Docker. You must uninstall these packages
before you install the official version of Docker Engine.
```console ```console
$ sudo zypper remove docker \ $ sudo zypper remove docker \
@ -112,7 +114,7 @@ $ sudo zypper addrepo {{% param "download-url-base" %}}/docker-ce.repo
#### Install Docker Engine #### Install Docker Engine
1. Install Docker Engine, containerd, and Docker Compose: 1. Install the Docker packages.
{{< tabs >}} {{< tabs >}}
{{< tab name="Latest" >}} {{< tab name="Latest" >}}
@ -172,8 +174,7 @@ $ sudo zypper addrepo {{% param "download-url-base" %}}/docker-ce.repo
boot your system. If you don't want Docker to start automatically, use `sudo boot your system. If you don't want Docker to start automatically, use `sudo
systemctl start docker` instead. systemctl start docker` instead.
3. Verify that the Docker Engine installation is successful by running the 3. Verify that the installation is successful by running the `hello-world` image:
`hello-world` image.
```console ```console
$ sudo docker run hello-world $ sudo docker run hello-world
@ -222,8 +223,7 @@ download a new file each time you want to upgrade Docker Engine.
boot your system. If you don't want Docker to start automatically, use `sudo boot your system. If you don't want Docker to start automatically, use `sudo
systemctl start docker` instead. systemctl start docker` instead.
4. Verify that the Docker Engine installation is successful by running the 4. Verify that the installation is successful by running the `hello-world` image:
`hello-world` image.
```console ```console
$ sudo docker run hello-world $ sudo docker run hello-world

View File

@ -62,9 +62,9 @@ s390x, and ppc64le (ppc64el) architectures.
Before you can install Docker Engine, you need to uninstall any conflicting packages. Before you can install Docker Engine, you need to uninstall any conflicting packages.
Distro maintainers provide unofficial distributions of Docker packages in Your Linux distribution may provide unofficial Docker packages, which may conflict
APT. You must uninstall these packages before you can install the official with the official packages provided by Docker. You must uninstall these packages
version of Docker Engine. before you install the official version of Docker Engine.
The unofficial packages to uninstall are: The unofficial packages to uninstall are:
@ -111,7 +111,7 @@ You can install Docker Engine in different ways, depending on your needs:
### Install using the `apt` repository {#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 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 need to set up the Docker `apt` repository. Afterward, you can install and update
Docker from the repository. Docker from the repository.
1. Set up Docker's `apt` repository. 1. Set up Docker's `apt` repository.
@ -173,8 +173,7 @@ Docker from the repository.
{{< /tab >}} {{< /tab >}}
{{< /tabs >}} {{< /tabs >}}
3. Verify that the Docker Engine installation is successful by running the 3. Verify that the installation is successful by running the `hello-world` image:
`hello-world` image.
```console ```console
$ sudo docker run hello-world $ sudo docker run hello-world
@ -229,8 +228,7 @@ download a new file each time you want to upgrade Docker Engine.
The Docker daemon starts automatically. The Docker daemon starts automatically.
6. Verify that the Docker Engine installation is successful by running the 6. Verify that the installation is successful by running the `hello-world` image:
`hello-world` image.
```console ```console
$ sudo service docker start $ sudo service docker start