Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Pycharm 2022 cannot connect to the docker service. It does not find it

I have Pycharm 2022 and when configuring a docker Python interpreter, Pycharm is not able to find the remote docker service, it seems that it cannot find it although the service is running (and I have the pro license):

 Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
 Active: active (running) since Mon 2022-11-07 16:22:43 CET; 22h ago TriggeredBy: ● docker.socket
   Docs: https://docs.docker.com    Main PID: 1582 (dockerd)
  Tasks: 12
 Memory: 71.7M
 CGroup: /system.slice/docker.service
         └─1582 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock

I would appreciate any help regarding this.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Appart from the official "solution" from Intelillj I find it easier with this workaround:

  1. Help -> Find Action -> Registry
  2. Disable python.use.targets.api
  3. Try to configure the interpreter again

There is an official solution from Intelillj that you can check here:

https://intellij-support.jetbrains.com/hc/en-us/community/posts/6870884026898-Pycharm-2022-2-upgrade-and-Docker-issues

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading