At this step we assume that docker is running.
In order to run docker as normal user you should perform the following steps:
1. Create a new group named ‘docker’
sudo groupadd docker
2. Add current user to the group ‘docker’
sudo usermod -aG docker $USER
3. Activate group changes
4. Verify docker works
View docker info
Run a test
docker run hello-world
For more info read this article.