til

Manage Docker As A Non-root User

sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker
docker run hello-world

source