(original)
...
sudo usermod -aG docker [non-root user]
Tip: “whoami” returns current username
but, “docker” group is only for sudo…. (help) so in your user
...
[~] sudo apt-get install http://docker.io
Where are we….?
So from the above, we can open a terminal, then switch to superuser to be able to run commands withuot prepending with sudo
Code Block |
---|
su - luke
docker run --rm hello-world |