File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
content/manuals/engine/install Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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
216216To 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
You can’t perform that action at this time.
0 commit comments