Unable to create remote Docker interpreter

I'm running PyCharm Professional 2022.3.3 on Ubuntu 22.04. I want to use my own docker image as a remote interpreter.

When I create a new interpreter, my only choices are Build and Pull.

If I choose Build, it fails because it requires BUILDKIT, and I can't find a way to enable that in PyCharm.

If I choose Pull, it only searches on DockerHub, so I pushed my image to DockerHub. I can't pull it because it requires docker login. I did connect my DockerHub account to PyCharm by pushing the image from there, but that didn't help.

Is there any way to use my own image? Perhaps a way to get PyCharm to look for a local image, not just one on the hub? Or a way to enable buildkit? Or a way to get PyCharm to log in to DockerHub?

评论操作 固定链接

Hello, 

>If I choose Build, it fails because it requires BUILDKIT, and I can't find a way to enable that in PyCharm.

Unfortunately support for BuildKit is not implemented yet, please feel free to vote for: 

https://youtrack.jetbrains.com/issue/IDEA-263071/Support-BuildKit-in-Run-Targets

https://youtrack.jetbrains.com/issue/PY-56459/Remote-Interpreter-Dockerfile-BuildKit-option

 

 

 

 

>Is there any way to use my own image?  Perhaps a way to get PyCharm to look for a local image, not just one on the hub? 

Yes, just specify the name and tag of the local image under the Pull option. 

 

Let me know how it goes.

 

 


Kind regards,
Tonya
https://www.jetbrains.com
The Drive to Develop

0
评论操作 固定链接
Hi Meaghan,
Thank you for contacting PyCharm support.



Kind regards,
Tonya
https://www.jetbrains.com
The Drive to Develop
0

请先登录再写评论。