Hi, while pulling the image 'ubuntu' from docker hub, it gives error "Permission denied" as mentioned below. Kindly resolve
ubuntu@ip-172-31-44-140:~$ docker --version
Docker version 18.09.7, build 2d0083d
ubuntu@ip-172-31-44-140:~$ ^C
ubuntu@ip-172-31-44-140:~$ docker pull ubuntu
Using default tag: latest
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.39/images/create?fromImage=ubuntu&tag=latest: dial unix /var/run/docker.sock: connect: permission denied