Browse Source

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>
David Lechner 9 years ago
parent
commit
e10ba68bfd
1 changed files with 1 additions and 3 deletions
  1. 1 3
      docs/installation/linux/ubuntulinux.md

+ 1 - 3
docs/installation/linux/ubuntulinux.md

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