mirror of https://github.com/docker/docs.git
Merge pull request #1150 from stephenconnolly1/patch-1
Restart the docker daemon after group changes
This commit is contained in:
commit
388ac08ebf
|
|
@ -188,7 +188,13 @@ To create the `docker` group and add your user:
|
||||||
|
|
||||||
This ensures your user is running with the correct permissions.
|
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
|
```bash
|
||||||
$ docker run --rm hello-world
|
$ docker run --rm hello-world
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue