I tested out the docker example for compose on the official site, did all the files just as instructed and i get this long error message,
Unable to get image ‘redis:alpine’: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get “http://%2Fvar%2Frun%2Fdocker.sock/v1.49/images/redis:alpine/json”: dial unix /var/run/docker.sock: connect: permission denied
How do i fix this issue , what did i do wrong and if anyone knows, what was the issue, so I know how this happened and to avoid this error?