Using Docker looks very promising but having to use sudo all the time is really a killer. Luckily there’s a way around it by adding users to the docker group and restarting the docker service.
- Add the docker group if it doesn’t already exist: sudo groupadd docker
- Add the connected user “${USER}” to the docker group. Change the user name to match your preferred user: sudo gpasswd -a ${USER} docker
- Restart the Docker daemon: sudo service docker restart
- If you are on Ubuntu 14.04 and up use docker.io instead: sudo service docker.io restart