mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
Merge pull request #1150 from stephenconnolly1/patch-1
Restart the docker daemon after group changes
This commit is contained in:
@@ -188,7 +188,13 @@ To create the `docker` group and add your user:
|
||||
|
||||
This ensures your user is running with the correct permissions.
|
||||
|
||||
5. Verify that your user is in the docker group by running `docker` without `sudo`.
|
||||
5. Restart the `docker` daemon.
|
||||
|
||||
```bash
|
||||
$ sudo service docker restart
|
||||
```
|
||||
|
||||
6. Verify that your user is in the docker group by running `docker` without `sudo`.
|
||||
|
||||
```bash
|
||||
$ docker run --rm hello-world
|
||||
|
||||
Reference in New Issue
Block a user