installation steps
Reference: How to install Docker on Ubuntu Linux and how to use it
problem
docker version
When I entered the above command, the following error occurred:
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1 .39/version: dial unix /var/run/docker.sock: connect: permission denied
Solution
sudo chmod 777 /var/run/docker.sock
Reference: [Solution] docker: permission denied