engine: enable the systemd service by default after installation

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

View File

@ -145,9 +145,13 @@ $ sudo yum-config-manager --add-repo {{% param "download-url-base" %}}/docker-ce
2. Start Docker.
```console
$ sudo systemctl start docker
$ sudo systemctl enable --now docker
```
This configures the Docker systemd service to start automatically when you
boot your system. If you don't want Docker to start automatically, use `sudo
systemctl start docker` instead.
3. Verify that the Docker Engine installation is successful by running the
`hello-world` image.

View File

@ -142,9 +142,13 @@ $ sudo dnf-3 config-manager --add-repo {{% param "download-url-base" %}}/docker-
2. Start Docker.
```console
$ sudo systemctl start docker
$ sudo systemctl enable --now docker
```
This configures the Docker systemd service to start automatically when you
boot your system. If you don't want Docker to start automatically, use `sudo
systemctl start docker` instead.
3. Verify that the Docker Engine installation is successful by running the
`hello-world` image.

View File

@ -146,9 +146,13 @@ $ sudo yum-config-manager --add-repo {{% param "download-url-base" %}}/docker-ce
2. Start Docker.
```console
$ sudo systemctl start docker
$ sudo systemctl enable --now docker
```
This configures the Docker systemd service to start automatically when you
boot your system. If you don't want Docker to start automatically, use `sudo
systemctl start docker` instead.
3. Verify that the Docker Engine installation is successful by running the
`hello-world` image.

View File

@ -165,9 +165,13 @@ $ sudo zypper addrepo {{% param "download-url-base" %}}/docker-ce.repo
2. Start Docker.
```console
$ sudo systemctl start docker
$ sudo systemctl enable --now docker
```
This configures the Docker systemd service to start automatically when you
boot your system. If you don't want Docker to start automatically, use `sudo
systemctl start docker` instead.
3. Verify that the Docker Engine installation is successful by running the
`hello-world` image.