Error setting up docker-compose remote interpreter

已回答

I am trying to setup a docker-compose remote interpreter following the steps in https://www.jetbrains.com/help/pycharm/using-docker-compose-as-a-remote-interpreter-1.html.

 

I successfully set up and connected to the docker under Settings->Build,Execution, Deployment using Unix socket.

 

Then when i go to Settings->Project: Myproj->Project Interpreter and try to add a docker compose interpreter i get a nullPointerException when i press the Ok button, and in logs i can see the error as:

2018-04-13 17:14:48,058 [  89031]   INFO - .CloudSilentLoggingHandlerImpl - Unable to find image 'pycharm_helpers:PY-181.4445.76' locally 

 

I also noticed that no python_helpers docker container exists or deployed.

 

A colleague of mine have sucesfully set up the remote interpreter using the same steps with no issues.

 

OS version: Ubuntu 16.04.4 LTS

PyCharm version: 2018.1.1 (Build 181.4445.76)

1
Avatar
Permanently deleted user

I also have the same problem after upgrading from 2017.3, on Ubuntu 16.04.

I had to revert to back to 2017.3 to use my existing projects.

0

Could you please specify docker and docker-compose version?

0
Avatar
Permanently deleted user

Hi Pavel

 

docker --version
Docker version 1.13.1, build 092cba3

docker-compose --version
docker-compose version 1.18.0, build 8dd22a9

0

Thank you! Could you please update compose and docker engine to the recent versions? Compose 1.21 and engine 18.02 are already available.

0
Avatar
Permanently deleted user

I'm having the same issue. Post update to 2018 docker-compose debug no longer works (looks like it is using unsupported parameters).

We are required to use LTS versions of the package so upgrading to a later version of docker/docker-compose is not feasible. 

0

请先登录再写评论。