Why does docker-compose contact the registry?

I have a docker-compose file like:

version: '3'
services:
local:
image: image-that-exists-locally
volumes:
- ../:/workarea



I can get it running by typing

docker-compose up

in the terminal.

When I try to create a python interpreter using this docker-compose file, I get the error:

Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

Why am I getting this error? Why is pycharm even contacting the registry? The image is stored locally.

I know I'm connecting to the right docker server because I can see my images and containers, including the image I need.

2 comments
Comment actions Permalink

This seems like a known issue: https://youtrack.jetbrains.com/issue/PY-31756

Please specify your PyCharm version. Is it reproduced on the latest version? 

https://www.jetbrains.com/pycharm/download

0
Comment actions Permalink

I have:

PyCharm 2019.1.3 (Professional Edition)
Build #PY-191.7479.30, built on May 29, 2019

0

Please sign in to leave a comment.