@@ -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
@@ -142,9 +142,13 @@ $ sudo dnf-3 config-manager --add-repo {{% param "download-url-base" %}}/docker-
1421422 . Start Docker.
143143
144144 ``` console
145- $ sudo systemctl start docker
145+ $ sudo systemctl enable --now docker
146146 ```
147147
148+ This configures the Docker systemd service to start automatically when you
149+ boot your system. If you don't want Docker to start automatically, use `sudo
150+ systemctl start docker` instead.
151+
1481523 . Verify that the Docker Engine installation is successful by running the
149153 ` hello-world ` image.
150154
@@ -179,7 +183,7 @@ download a new file each time you want to upgrade Docker Engine.
179183 the Docker package.
180184
181185 ``` console
182- $ sudo dnf -y install /path/to/package.rpm
186+ $ sudo dnf install /path/to/package.rpm
183187 ```
184188
185189 Docker is installed but not started. The ` docker ` group is created, but no
@@ -214,8 +218,8 @@ You have now successfully installed and started Docker Engine.
214218#### Upgrade Docker Engine
215219
216220To 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.
221+ [ installation procedure] ( #install-from-a-package ) , using ` dnf upgrade `
222+ instead of ` dnf install ` , and point to the new files.
219223
220224{{< include "install-script.md" >}}
221225
0 commit comments