Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

engine/install: enable engine as system service on rpm installs #21382

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions content/manuals/engine/install/centos.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,18 @@ $ sudo yum-config-manager --add-repo {{% param "download-url-base" %}}/docker-ce
{{< /tab >}}
{{< /tabs >}}

2. Start Docker.
2. Start Docker Engine.

Start the Docker Engine and containerd as a systemd service that will launch
on boot:

```console
$ sudo systemctl start docker
$ sudo systemctl enable --now containerd docker
```

If you prefer Docker to only start manually, use `sudo systemctl start docker`
instead, which runs it only for the current session.

3. Verify that the Docker Engine installation is successful by running the
`hello-world` image.

Expand Down Expand Up @@ -188,12 +194,18 @@ download a new file each time you want to upgrade Docker Engine.
Docker is installed but not started. The `docker` group is created, but no
users are added to the group.

3. Start Docker.
3. Start Docker Engine.

Start the Docker Engine and containerd as a systemd service that will launch
on boot:

```console
$ sudo systemctl start docker
$ sudo systemctl enable --now containerd docker
```

If you prefer Docker to only start manually, use `sudo systemctl start docker`
instead, which runs it only for the current session.

4. Verify that the Docker Engine installation is successful by running the
`hello-world` image.

Expand Down
26 changes: 16 additions & 10 deletions content/manuals/engine/install/fedora.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,18 @@ $ sudo dnf-3 config-manager --add-repo {{% param "download-url-base" %}}/docker-
{{< /tab >}}
{{< /tabs >}}

2. Start Docker.
2. Start Docker Engine.

Start the Docker Engine and containerd as a systemd service that will launch
on boot:

```console
$ sudo systemctl start docker
$ sudo systemctl enable --now containerd docker
```

If you prefer Docker to only start manually, use `sudo systemctl start docker`
instead, which runs it only for the current session.

3. Verify that the Docker Engine installation is successful by running the
`hello-world` image.

Expand Down Expand Up @@ -185,19 +191,19 @@ download a new file each time you want to upgrade Docker Engine.
Docker is installed but not started. The `docker` group is created, but no
users are added to the group.

3. Start Docker.

```console
$ sudo systemctl start docker
```
3. Start Docker Engine.

4. Make Docker start automatically after reboot.
Start the Docker Engine and containerd as a systemd service that will launch
on boot:

```console
$ sudo systemctl enable docker
$ sudo systemctl enable --now containerd docker
```

5. Verify that the Docker Engine installation is successful by running the
If you prefer Docker to only start manually, use `sudo systemctl start docker`
instead, which runs it only for the current session.

4. Verify that the Docker Engine installation is successful by running the
`hello-world` image.

```console
Expand Down
20 changes: 16 additions & 4 deletions content/manuals/engine/install/rhel.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,18 @@ $ sudo yum-config-manager --add-repo {{% param "download-url-base" %}}/docker-ce
{{< /tab >}}
{{< /tabs >}}

2. Start Docker.
2. Start Docker Engine.

Start the Docker Engine and containerd as a systemd service that will launch
on boot:

```console
$ sudo systemctl start docker
$ sudo systemctl enable --now containerd docker
```

If you prefer Docker to only start manually, use `sudo systemctl start docker`
instead, which runs it only for the current session.

3. Verify that the Docker Engine installation is successful by running the
`hello-world` image.

Expand Down Expand Up @@ -205,12 +211,18 @@ download a new file each time you want to upgrade Docker Engine.
Docker is installed but not started. The `docker` group is created, but no
users are added to the group.

6. Start Docker.
6. Start Docker Engine.

Start the Docker Engine and containerd as a systemd service that will launch
on boot:

```console
$ sudo systemctl start docker
$ sudo systemctl enable --now containerd docker
```

If you prefer Docker to only start manually, use `sudo systemctl start docker`
instead, which runs it only for the current session.

7. Verify that the Docker Engine installation is successful by running the
`hello-world` image.

Expand Down
20 changes: 16 additions & 4 deletions content/manuals/engine/install/sles.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,18 @@ $ sudo zypper addrepo {{% param "download-url-base" %}}/docker-ce.repo
{{< /tab >}}
{{< /tabs >}}

2. Start Docker.
2. Start Docker Engine.

Start the Docker Engine and containerd as a systemd service that will launch
on boot:

```console
$ sudo systemctl start docker
$ sudo systemctl enable --now containerd docker
```

If you prefer Docker to only start manually, use `sudo systemctl start docker`
instead, which runs it only for the current session.

3. Verify that the Docker Engine installation is successful by running the
`hello-world` image.

Expand Down Expand Up @@ -208,12 +214,18 @@ download a new file each time you want to upgrade Docker Engine.
Docker is installed but not started. The `docker` group is created, but no
users are added to the group.

3. Start Docker.
3. Start Docker Engine.

Start the Docker Engine and containerd as a systemd service that will launch
on boot:

```console
$ sudo systemctl start docker
$ sudo systemctl enable --now containerd docker
```

If you prefer Docker to only start manually, use `sudo systemctl start docker`
instead, which runs it only for the current session.

4. Verify that the Docker Engine installation is successful by running the
`hello-world` image.

Expand Down