Fixed error in group add example

There is no ${USERNAME} in bash, only ${USER}
Upstream-commit: fc559d999256a8171015f18fd67e51c39ea5aa32
Component: engine
This commit is contained in:
David Mcanulty
2014-01-06 09:29:56 -08:00
parent ee3a7b50db
commit d48dec166d

View File

@ -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