mirror of https://github.com/docker/docs.git
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:
parent
fde4750c85
commit
1514b0dc36
|
@ -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.
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue