Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

659
Visualizações
Pycharm Can't retrieve image ID from build stream

Want to connect pycharm docker interpreter. Here is my windows docker status

docker windows

and here is pycharm status

how can I fix the issue

pycharm

over 4 years ago · Santiago Trujillo
5 Respostas
Responde à pergunta

0

That error message usually appears when Docker is not able to build your image and tries to run it so it seem that PyCharm can connect to Docker but the build failed.

Try this:

First let's see if PyCharm can connect to Docker (by the error you receive I think it does):

  • Open the Services window (Alt + 8)
  • Check if you can connect to "Docker" and see all the containers and images you have currently. You may need need to select "Docker" and press the play button on the left.
  • If you can't see the "Docker" option, clic on the "+" icon in that window and try to configure a new Docker connection.

Docker connection in PyCharm - Services window

If you can see your images and containers, you're connected to Docker. Let's see if your build fails:

  • In the Project window (Alt + 1) right clic on your Dockerfile or Dockercompose.
  • We are going to create a Run Configuration. Select the option "Create" that has a Docker icon. If you don't see the option it means you already have one run configuration setup for that file and instead of the "Create" option you'll see an "Edit" option.
  • Select "Create" or "Edit" (depending on what options you see) and add the options you need for building and running your Dockerfile or Dockercompose and save the Run Configuration.
  • Now you can try and run it from the Run bar at the top right corner (select the new run configuration you just made in the drop down and press play)

Now the Services window will get focused and show the build status. If it fails, you should see the reason there.

over 4 years ago · Santiago Trujillo Relatório

0

Maybe installing docker-machine can solve this problem

over 4 years ago · Santiago Trujillo Relatório

0

in case you follow the step above and didn't work for you try to check if busybox:latest image if exists, else pull this again from docker hub.

Prerequisites -> the second point

over 4 years ago · Santiago Trujillo Relatório

0

What solved this issue for me was making sure I was logged in on Docker for Mac

over 4 years ago · Santiago Trujillo Relatório

0

This may also help (following https://www.jetbrains.com/help/pycharm/using-docker-as-a-remote-interpreter.html#prereq):

  • check pycharm settings > Build > Docker > Tools
  • The default docker executable was C:\Program Files\Docker\Docker\resources\bin\docker.exe (windows 10)
  • we have to select the file without .exe at the end
over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda