I am trying to configure my python interpreter to use docker but keep getting errors that it cannot connect to the docker daemon, even though I have docker desktop up and running.
Connecting to Docker daemon…
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
I have tried solutions from: Docker is Running But Pycharm Cannot Connect to Docker Daemon and Pycharm 2022 cannot connect to the docker service. It does not find it
I do not have to use sudo to run docker commands, and I tried disabling the use.targets.api and still got the same error.
If anyone has any advice, it would be greatly appreciated.