These days I’m playing with docker using Amazon Web Services as server. For those who have already play with, you may have noticed that you always need to add “sudo” prefix to your command line to use it. It’s a bit annoying.
As it’s said in docker documentation, you need to add you to the docker group
I’m running Ubuntu Server 14.04 LTS.
sudo gpasswd -a "USER" docker
Log out, go back in and restart docker daemon
sudo service docker restart
Now you can run docker without “sudo”