7

I have installed Docker for Mac(not toolbox). It works, but now I want to use PyCharm with Docker and I don't understand from where I need get this data?

Should I first create machine?

docker-machine create --driver virtualbox default

but if I want to use Docker without any Docker machines, what are the default API URL and certificates folder?

enter image description here

Makoto
  • 104,088
  • 27
  • 192
  • 230
comalex3
  • 2,497
  • 4
  • 26
  • 47
  • Did you find any solution to this? – Jickson Dec 13 '16 at 09:10
  • 1
    @Jickson no, i also asked at https://www.reddit.com/r/docker/comments/5aox3v/how_to_use_docker_for_mac_and_pycharm/ and don't get answer too, so i don't use pycharm's docker tool, just work in console – comalex3 Dec 13 '16 at 10:00

2 Answers2

1

Based on what you have provided, PyCharm supports only the legacy version of Docker for Mac. The new one needs nor VirtualBox neither Docker Machine.

You could deploy it manually or install the old version of Docker which I wouldn't really recommend.

adsalpha
  • 102
  • 2
  • 10
0

You need to update PyCharm and therefore Docker integration plugin.

Plugin v2.5.0 (compatible with IDEA 17.1 EAPs) should support direct connection to unix:///var/run/docker.sock.

This should be your API URL.

unix:///var/run/docker.sock

For Certificates folder, it should be set by default to

~/.docker/machine/machines/default

Nour Wolf
  • 2,140
  • 25
  • 24