use these commands in order.
sudo groupadd docker sudo usermod -aG docker $USER
sudo groupadd docker
sudo usermod -aG docker $USER
logout and login if PC or if it is a VM restart your VM or VPS
newgrp docker sudo systemctl enable docker sudo service docker restart run this command to verify your docker: docker run hello-world
newgrp docker
sudo systemctl enable docker
sudo service docker restart
docker run hello-world
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
Let's Build Forem
use these commands in order.
sudo groupadd docker
sudo usermod -aG docker $USER
logout and login if PC or if it is a VM restart your VM or VPS
newgrp docker
sudo systemctl enable docker
sudo service docker restart
run this command to verify your docker:
docker run hello-world