mirror of https://github.com/docker/docs.git
Merge pull request #12647 from benmccann/rootless-install
Reduce duplication by referencing existing rootless Docker docs
This commit is contained in:
commit
0ea0a6173f
|
@ -43,33 +43,14 @@ $ sudo sh get-docker.sh
|
||||||
<...>
|
<...>
|
||||||
```
|
```
|
||||||
|
|
||||||
If you would like to use Docker as a non-root user, you should now consider
|
If you would like to use Docker as a non-root user please see the
|
||||||
adding your user to the "docker" group with something like:
|
[post-installation steps for Linux](linux-postinstall.md#manage-docker-as-a-non-root-user).
|
||||||
|
|
||||||
```console
|
|
||||||
$ sudo usermod -aG docker <your-user>
|
|
||||||
```
|
|
||||||
|
|
||||||
Remember to log out and back in for this to take effect!
|
|
||||||
|
|
||||||
> **Warning**:
|
|
||||||
>
|
|
||||||
> Adding a user to the "docker" group grants them the ability to run containers
|
|
||||||
> which can be used to obtain root privileges on the Docker host. Refer to
|
|
||||||
> [Docker Daemon Attack Surface](/engine/security/#docker-daemon-attack-surface)
|
|
||||||
> for more information.
|
|
||||||
{:.warning}
|
|
||||||
|
|
||||||
Docker Engine - Community is installed. It starts automatically on `DEB`-based distributions. On
|
Docker Engine - Community is installed. It starts automatically on `DEB`-based distributions. On
|
||||||
`RPM`-based distributions, you need to start it manually using the appropriate
|
`RPM`-based distributions, you need to start it manually using the appropriate
|
||||||
`systemctl` or `service` command. As the message indicates, non-root users can't
|
`systemctl` or `service` command. As the message indicates, non-root users can't
|
||||||
run Docker commands by default.
|
run Docker commands by default.
|
||||||
|
|
||||||
> **Note**:
|
|
||||||
>
|
|
||||||
> To install Docker without root privileges, see
|
|
||||||
> [Run the Docker daemon as a non-root user (Rootless mode)](/engine/security/rootless/).
|
|
||||||
|
|
||||||
#### Upgrade Docker after using the convenience script
|
#### Upgrade Docker after using the convenience script
|
||||||
|
|
||||||
If you installed Docker using the convenience script, you should upgrade Docker
|
If you installed Docker using the convenience script, you should upgrade Docker
|
||||||
|
|
Loading…
Reference in New Issue