comalex3
comalex3

Reputation: 2606

How to use Docker and PyCharm on Mac?

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

Upvotes: 7

Views: 1125

Answers (2)

Nour Wolf
Nour Wolf

Reputation: 2180

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

Upvotes: 0

adsalpha
adsalpha

Reputation: 102

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.

Upvotes: 1

Related Questions