Restart the docker daemon after group changes

Otherwise the verification step won't work.
This commit is contained in:
Stephen Connolly 2017-01-18 09:28:13 +00:00 committed by GitHub
parent ec839d5bf8
commit 0fc81342e4
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