Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting Unsupported protocol scheme error with docker in pycharm

I'm getting the following error when launching docker interpreter in pycharm

Error:com.github.dockerjava.api.exception.DockerClientException: Unsupported protocol scheme found: ''. Only 'tcp://' or 'unix://' supported.

I've tried to ssh into the image that i'm running and check it manually, and everything looks to be working fine. The Ip address of the machine is alright as well.

NAME            ACTIVE   DRIVER       STATE     URL                         SWARM   DOCKER    ERRORS
MyVM   -        virtualbox   Running   tcp://192.168.99.100:2376           v1.11.2
like image 969
nishantvas Avatar asked Oct 21 '25 14:10

nishantvas


1 Answers

Happened to me after upgrading to PyCharm 2017.1.2

I've resolved this by configuring the Python Interpreter - click "New..." near the Server pulldown menu. This will open a new dialog in which the Certificate Folder text field has the value "~/.docker" - empty this value and click ok. (see also https://www.jetbrains.com/help/pycharm/2017.1/docker-2.html which states that this item is deprecated and should be empty)

like image 154
zeevb Avatar answered Oct 23 '25 03:10

zeevb



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!