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>
This commit is contained in:
parent
10fcd30a90
commit
e10ba68bfd
1 changed files with 1 additions and 3 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue