Browse Source

Merge pull request #2833 from twillouer/patch-1

Better copy/paste :)
Andy Rothfusz 11 years ago
parent
commit
2d715bf3c0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/sources/use/basics.rst

+ 2 - 2
docs/sources/use/basics.rst

@@ -76,11 +76,11 @@ client commands.
   # Add the docker group if it doesn't already exist.
   # Add the docker group if it doesn't already exist.
   sudo groupadd docker
   sudo groupadd docker
 
 
-  # Add the user "ubuntu" to the docker group.
+  # Add the connected user "${USERNAME}" to the docker group.
   # Change the user name to match your preferred user.
   # Change the user name to match your preferred user.
   # You may have to logout and log back in again for
   # You may have to logout and log back in again for
   # this to take effect.
   # this to take effect.
-  sudo gpasswd -a ubuntu docker
+  sudo gpasswd -a ${USERNAME} docker
 
 
   # Restart the docker daemon.
   # Restart the docker daemon.
   sudo service docker restart
   sudo service docker restart