Add docker-compose-plugin package in linux distro engine installation

Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
This commit is contained in:
Guillaume Lours 2022-04-04 17:27:26 +02:00
parent 6a45693de1
commit f95abb647a
6 changed files with 37 additions and 34 deletions

View File

@ -118,10 +118,10 @@ $ sudo yum-config-manager \
#### Install Docker Engine
1. Install the _latest version_ of Docker Engine and containerd, or go to the next step to install a specific version:
1. Install the _latest version_ of Docker Engine, containerd, and Docker Compose or go to the next step to install a specific version:
```console
$ sudo yum install docker-ce docker-ce-cli containerd.io
$ sudo yum install docker-ce docker-ce-cli containerd.io docker-compose-plugin
```
If prompted to accept the GPG key, verify that the fingerprint matches
@ -161,7 +161,7 @@ $ sudo yum-config-manager \
a hyphen (`-`). For example, `docker-ce-18.09.1`.
```console
$ sudo yum install docker-ce-<VERSION_STRING> docker-ce-cli-<VERSION_STRING> containerd.io
$ sudo yum install docker-ce-<VERSION_STRING> docker-ce-cli-<VERSION_STRING> containerd.io docker-compose-plugin
```
This command installs Docker, but it doesn't start Docker. It also creates a
@ -250,10 +250,10 @@ instead of `yum -y install`, and point to the new file.
## Uninstall Docker Engine
1. Uninstall the Docker Engine, CLI, and Containerd packages:
1. Uninstall the Docker Engine, CLI, Containerd, and Docker Compose packages:
```console
$ sudo yum remove docker-ce docker-ce-cli containerd.io
$ sudo yum remove docker-ce docker-ce-cli containerd.io docker-compose-plugin
```
2. Images, containers, volumes, or customized configuration files on your host

View File

@ -35,7 +35,7 @@ Older versions of Docker were called `docker`, `docker.io`, or `docker-engine`.
If these are installed, uninstall them:
```console
$ sudo apt-get remove docker docker-engine docker.io containerd runc
$ sudo apt-get remove docker docker-engine docker.io containerd runc docker-compose-plugin
```
It's OK if `apt-get` reports that none of these packages are installed.
@ -110,11 +110,11 @@ from the repository.
This procedure works for Debian on `x86_64` / `amd64`, `armhf`, `arm64`, and Raspbian.
1. Update the `apt` package index, and install the _latest version_ of Docker
Engine and containerd, or go to the next step to install a specific version:
Engine, containerd, and Docker Compose, or go to the next step to install a specific version:
```console
$ sudo apt-get update
$ sudo apt-get install docker-ce docker-ce-cli containerd.io
$ sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin
```
> Got multiple Docker repositories?
@ -148,7 +148,7 @@ This procedure works for Debian on `x86_64` / `amd64`, `armhf`, `arm64`, and Ras
for example, `5:18.09.1~3-0~debian-stretch `.
```console
$ sudo apt-get install docker-ce=<VERSION_STRING> docker-ce-cli=<VERSION_STRING> containerd.io
$ sudo apt-get install docker-ce=<VERSION_STRING> docker-ce-cli=<VERSION_STRING> containerd.io docker-compose-plugin
```
3. Verify that Docker Engine is installed correctly by running the `hello-world`
@ -223,10 +223,10 @@ To upgrade Docker Engine, download the newer package file and repeat the
## Uninstall Docker Engine
1. Uninstall the Docker Engine, CLI, and Containerd packages:
1. Uninstall the Docker Engine, CLI, Containerd, and Docker Compose packages:
```console
$ sudo apt-get purge docker-ce docker-ce-cli containerd.io
$ sudo apt-get purge docker-ce docker-ce-cli containerd.io docker-compose-plugin
```
2. Images, containers, volumes, or customized configuration files on your host

View File

@ -38,7 +38,8 @@ $ sudo dnf remove docker \
docker-logrotate \
docker-selinux \
docker-engine-selinux \
docker-engine
docker-engine \
docker-compose-plugin
```
It's OK if `dnf` reports that none of these packages are installed.
@ -116,7 +117,7 @@ $ sudo dnf config-manager \
1. Install the _latest version_ of Docker Engine and containerd, or go to the next step to install a specific version:
```console
$ sudo dnf install docker-ce docker-ce-cli containerd.io
$ sudo dnf install docker-ce docker-ce-cli containerd.io docker-compose-plugin
```
If prompted to accept the GPG key, verify that the fingerprint matches
@ -156,7 +157,7 @@ $ sudo dnf config-manager \
`docker-ce-3:18.09.1`.
```console
$ sudo dnf -y install docker-ce-<VERSION_STRING> docker-ce-cli-<VERSION_STRING> containerd.io
$ sudo dnf -y install docker-ce-<VERSION_STRING> docker-ce-cli-<VERSION_STRING> containerd.io docker-compose-plugin
```
This command installs Docker, but it doesn't start Docker. It also creates a
@ -245,10 +246,10 @@ instead of `dnf -y install`, and point to the new file.
## Uninstall Docker Engine
1. Uninstall the Docker Engine, CLI, and Containerd packages:
1. Uninstall the Docker Engine, CLI, Containerd and Docker Compose packages:
```console
$ sudo dnf remove docker-ce docker-ce-cli containerd.io
$ sudo dnf remove docker-ce docker-ce-cli containerd.io docker-compose-plugin
```
2. Images, containers, volumes, or customized configuration files on your host

View File

@ -49,7 +49,8 @@ $ sudo yum remove docker \
docker-logrotate \
docker-engine \
podman \
runc
docker-compose-plugin
runc \
```
It's OK if `yum` reports that none of these packages are installed.
@ -123,10 +124,10 @@ $ sudo yum-config-manager \
#### Install Docker Engine
1. Install the _latest version_ of Docker Engine and containerd, or go to the next step to install a specific version:
1. Install the _latest version_ of Docker Engine, containerd, and Docker Compose, or go to the next step to install a specific version:
```console
$ sudo yum install docker-ce docker-ce-cli containerd.io
$ sudo yum install docker-ce docker-ce-cli containerd.io docker-compose-plugin
```
If prompted to accept the GPG key, verify that the fingerprint matches
@ -165,7 +166,7 @@ $ sudo yum-config-manager \
a hyphen (`-`). For example, `docker-ce-20.10.7`.
```console
$ sudo yum install docker-ce-<VERSION_STRING> docker-ce-cli-<VERSION_STRING> containerd.io
$ sudo yum install docker-ce-<VERSION_STRING> docker-ce-cli-<VERSION_STRING> containerd.io docker-compose-plugin
```
This command installs Docker, but it doesn't start Docker. It also creates a
@ -254,10 +255,10 @@ instead of `yum -y install`, and point to the new file.
## Uninstall Docker Engine
1. Uninstall the Docker Engine, CLI, and Containerd packages:
1. Uninstall the Docker Engine, CLI, Containerd, and Docker Compose packages:
```console
$ sudo yum remove docker-ce docker-ce-cli containerd.io
$ sudo yum remove docker-ce docker-ce-cli containerd.io docker-compose-plugin
```
2. Images, containers, volumes, or customized configuration files on your host

View File

@ -66,7 +66,8 @@ $ sudo zypper remove docker \
docker-latest-logrotate \
docker-logrotate \
docker-engine \
runc
docker-compose-plugin
runc \
```
It's OK if `zypper` reports that none of these packages are installed.
@ -133,10 +134,10 @@ $ sudo zypper addrepo {{ download-url-base }}/docker-ce.repo
#### Install Docker Engine
1. Install the _latest version_ of Docker Engine and containerd, or go to the next step to install a specific version:
1. Install the _latest version_ of Docker Engine, containerd, and Docker Compose, or go to the next step to install a specific version:
```console
$ sudo zypper install docker-ce docker-ce-cli containerd.io
$ sudo zypper install docker-ce docker-ce-cli containerd.io docker-compose-plugin
```
If prompted to accept the GPG key, verify that the fingerprint matches
@ -173,7 +174,7 @@ $ sudo zypper addrepo {{ download-url-base }}/docker-ce.repo
separated by a hyphen (`-`). For example, `docker-ce-3:20.10.8`.
```console
$ sudo zypper install docker-ce-<VERSION_STRING> docker-ce-cli-<VERSION_STRING> containerd.io
$ sudo zypper install docker-ce-<VERSION_STRING> docker-ce-cli-<VERSION_STRING> containerd.io docker-compose-plugin
```
This command installs Docker, but it doesn't start Docker. It also creates a
@ -262,10 +263,10 @@ instead of `zypper -y install`, and point to the new file.
## Uninstall Docker Engine
1. Uninstall the Docker Engine, CLI, and Containerd packages:
1. Uninstall the Docker Engine, CLI, Containerd, and Docker Compose packages:
```console
$ sudo zypper remove docker-ce docker-ce-cli containerd.io
$ sudo zypper remove docker-ce docker-ce-cli containerd.io docker-compose-plugin
```
2. Images, containers, volumes, or customized configuration files on your host

View File

@ -57,7 +57,7 @@ Older versions of Docker were called `docker`, `docker.io`, or `docker-engine`.
If these are installed, uninstall them:
```console
$ sudo apt-get remove docker docker-engine docker.io containerd runc
$ sudo apt-get remove docker docker-engine docker.io containerd runc docker-compose-plugin
```
It's OK if `apt-get` reports that none of these packages are installed.
@ -134,11 +134,11 @@ from the repository.
#### Install Docker Engine
1. Update the `apt` package index, and install the _latest version_ of Docker
Engine and containerd, or go to the next step to install a specific version:
Engine, containerd, and Docker Compose, or go to the next step to install a specific version:
```console
$ sudo apt-get update
$ sudo apt-get install docker-ce docker-ce-cli containerd.io
$ sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin
```
> Got multiple Docker repositories?
@ -166,7 +166,7 @@ from the repository.
for example, `5:18.09.1~3-0~ubuntu-xenial`.
```console
$ sudo apt-get install docker-ce=<VERSION_STRING> docker-ce-cli=<VERSION_STRING> containerd.io
$ sudo apt-get install docker-ce=<VERSION_STRING> docker-ce-cli=<VERSION_STRING> containerd.io docker-compose-plugin
```
3. Verify that Docker Engine is installed correctly by running the `hello-world`
@ -241,10 +241,10 @@ To upgrade Docker Engine, download the newer package file and repeat the
## Uninstall Docker Engine
1. Uninstall the Docker Engine, CLI, and Containerd packages:
1. Uninstall the Docker Engine, CLI, Containerd, and Docker Compose packages:
```console
$ sudo apt-get purge docker-ce docker-ce-cli containerd.io
$ sudo apt-get purge docker-ce docker-ce-cli containerd.io docker-compose-plugin
```
2. Images, containers, volumes, or customized configuration files on your host