Merge pull request #1150 from stephenconnolly1/patch-1

Restart the docker daemon after group changes
This commit is contained in:
Misty Stanley-Jones 2017-01-18 14:46:52 -08:00 committed by GitHub
commit 388ac08ebf
1 changed files with 7 additions and 1 deletions

View File

@ -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