Update linux-postinstall.md (#8984)

Update linux-postinstall.md
This commit is contained in:
Alina Astrakova 2019-07-12 16:03:37 +02:00 committed by Usha Mandya
parent e0e89f1534
commit a57bb1b451
1 changed files with 7 additions and 1 deletions

View File

@ -44,8 +44,14 @@ To create the `docker` group and add your user:
3. Log out and log back in so that your group membership is re-evaluated.
If testing on a virtual machine, it may be necessary to restart the virtual machine for changes to take effect.
On a desktop Linux environment such as X Windows, log out of your session completely and then log back in.
On Linux, you can also run the following command to activate the changes to groups:
```bash
$ newgrp docker
```
4. Verify that you can run `docker` commands without `sudo`.