mirror of https://github.com/docker/docs.git
Restart the docker daemon after group changes
Otherwise the verification step won't work.
This commit is contained in:
parent
ec839d5bf8
commit
0fc81342e4
|
@ -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