Skip to content

Commit fde4750

Browse files
committed
engine: remove -y from fedora (dnf) installation steps
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
1 parent 9eeb171 commit fde4750

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/manuals/engine/install/fedora.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ $ sudo dnf-3 config-manager --add-repo {{% param "download-url-base" %}}/docker-
130130
command to install:
131131

132132
```console
133-
$ sudo dnf -y install docker-ce-<VERSION_STRING> docker-ce-cli-<VERSION_STRING> containerd.io docker-buildx-plugin docker-compose-plugin
133+
$ sudo dnf install docker-ce-<VERSION_STRING> docker-ce-cli-<VERSION_STRING> containerd.io docker-buildx-plugin docker-compose-plugin
134134
```
135135

136136
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.
179179
the Docker package.
180180

181181
```console
182-
$ sudo dnf -y install /path/to/package.rpm
182+
$ sudo dnf install /path/to/package.rpm
183183
```
184184

185185
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.
214214
#### Upgrade Docker Engine
215215

216216
To upgrade Docker Engine, download the newer package files and repeat the
217-
[installation procedure](#install-from-a-package), using `dnf -y upgrade`
218-
instead of `dnf -y install`, and point to the new files.
217+
[installation procedure](#install-from-a-package), using `dnf upgrade`
218+
instead of `dnf install`, and point to the new files.
219219

220220
{{< include "install-script.md" >}}
221221

0 commit comments

Comments
 (0)