Make it clear which parmeter is the user

Using the environment variable here also has the advantage that it can be copied and pasted directly in a terminal and it will work.

Signed-off-by: David Lechner <david@lechnology.com>
Upstream-commit: e10ba68bfdbedb47b7e92c3aee5e66e5884d16c3
Component: engine
This commit is contained in:
David Lechner
2016-07-29 12:35:47 -05:00
parent 481a5ed3bf
commit 6867071d80

View File

@ -243,15 +243,13 @@ To create the `docker` group and add your user:
1. Log into Ubuntu as a user with `sudo` privileges.
This procedure assumes you log in as the `ubuntu` user.
2. Create the `docker` group.
$ sudo groupadd docker
3. Add your user to `docker` group.
$ sudo usermod -aG docker ubuntu
$ sudo usermod -aG docker $USER
4. Log out and log back in.