Skip to content

Commit

Permalink
Fixed error in group add example
Browse files Browse the repository at this point in the history
There is no ${USERNAME} in bash, only ${USER}
  • Loading branch information
tsaavik committed Jan 6, 2014
1 parent af50b2f commit fc559d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/sources/use/basics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ client commands.
# Add the docker group if it doesn't already exist.
sudo groupadd docker
# Add the connected user "${USERNAME}" to the docker group.
# Add the connected user "${USER}" to the docker group.
# Change the user name to match your preferred user.
# You may have to logout and log back in again for
# this to take effect.
sudo gpasswd -a ${USERNAME} docker
sudo gpasswd -a ${USER} docker
# Restart the docker daemon.
sudo service docker restart
Expand Down

0 comments on commit fc559d9

Please sign in to comment.