Docker not working without sudo in Ubuntu 22.04
On an Ubuntu 22.04 system, whenever I run any docker command, it prints out an error: Cannot connect to the Docker daemon at unix:///home/<username>/.docker/desktop/docker.sock. Is the docker daemon running? If I check with systemctl status docker, it shows that the…