From a57bb1b4516bdcd11ce8d043dee1d607cac5a83f Mon Sep 17 00:00:00 2001 From: Alina Astrakova Date: Fri, 12 Jul 2019 16:03:37 +0200 Subject: [PATCH] Update linux-postinstall.md (#8984) Update linux-postinstall.md --- install/linux/linux-postinstall.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/install/linux/linux-postinstall.md b/install/linux/linux-postinstall.md index b4c1e08363..117839a8c3 100644 --- a/install/linux/linux-postinstall.md +++ b/install/linux/linux-postinstall.md @@ -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`.