usermod needs to be ran as root
This commit is contained in:
parent
02b2c417c6
commit
47fb92a475
@ -109,7 +109,7 @@ You need to keep port `:80` and `:443` free on your server for web proxying to y
|
|||||||
wget -O- https://get.docker.com | bash
|
wget -O- https://get.docker.com | bash
|
||||||
|
|
||||||
# add user to docker group
|
# add user to docker group
|
||||||
usermod -aG docker $USER
|
sudo usermod -aG docker $USER
|
||||||
|
|
||||||
# setup swarm
|
# setup swarm
|
||||||
docker swarm init
|
docker swarm init
|
||||||
|
Loading…
x
Reference in New Issue
Block a user