engine: remove -y from fedora (dnf) installation steps

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
David Karlsson 2024-11-08 12:11:57 +01:00
parent 9eeb171a81
commit fde4750c85
1 changed files with 4 additions and 4 deletions

View File

@ -130,7 +130,7 @@ $ sudo dnf-3 config-manager --add-repo {{% param "download-url-base" %}}/docker-
command to install:
```console
$ sudo dnf -y install docker-ce-<VERSION_STRING> docker-ce-cli-<VERSION_STRING> containerd.io docker-buildx-plugin docker-compose-plugin
$ sudo dnf install docker-ce-<VERSION_STRING> docker-ce-cli-<VERSION_STRING> containerd.io docker-buildx-plugin docker-compose-plugin
```
This command installs Docker, but it doesn't start Docker. It also creates a
@ -179,7 +179,7 @@ download a new file each time you want to upgrade Docker Engine.
the Docker package.
```console
$ sudo dnf -y install /path/to/package.rpm
$ sudo dnf install /path/to/package.rpm
```
Docker is installed but not started. The `docker` group is created, but no
@ -214,8 +214,8 @@ You have now successfully installed and started Docker Engine.
#### Upgrade Docker Engine
To upgrade Docker Engine, download the newer package files and repeat the
[installation procedure](#install-from-a-package), using `dnf -y upgrade`
instead of `dnf -y install`, and point to the new files.
[installation procedure](#install-from-a-package), using `dnf upgrade`
instead of `dnf install`, and point to the new files.
{{< include "install-script.md" >}}