From fde4750c859ab0cf386b30cc19eb9ea7b9cfe24c Mon Sep 17 00:00:00 2001 From: David Karlsson <35727626+dvdksn@users.noreply.github.com> Date: Fri, 8 Nov 2024 12:11:57 +0100 Subject: [PATCH] engine: remove -y from fedora (dnf) installation steps Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com> --- content/manuals/engine/install/fedora.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/manuals/engine/install/fedora.md b/content/manuals/engine/install/fedora.md index 7e71238835..c02833a002 100644 --- a/content/manuals/engine/install/fedora.md +++ b/content/manuals/engine/install/fedora.md @@ -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- docker-ce-cli- containerd.io docker-buildx-plugin docker-compose-plugin + $ sudo dnf install docker-ce- docker-ce-cli- 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" >}}