Docker Compose not starting on mac


I am following this guide: I cannot get it to work with my docker-compose.yml.

No problem following the guide and configuring my project. However it does not start when I try to start the docker run configuration. enter image description hereAll I get is a red box on the whale icon in the Docker tool window in IDEA. Hovering it gives me io.netty.channelConnectTimeoutException: Connection timed out

I am running the latest Docker for Mac and I have no issues running in command line with: docker-compose up.

Any ideas?


(This has also been posted on stackoverflow:

Official comment

Hello Johan,

Please try to do the following:

Open Preferences | Build, Execution, Deployment | Clouds. Find your Docker configuration and change API URL from to unix:///var/run/docker.sock




Hi, thanks for the quick reply.

This didn't work. It says "only supported on linux"


Could you please clarify version of Idea and docker plugin you are using?

The feature to connect using unix:///var/run/docker.sock was implemented for plugin 2.5.0 which is compatible with IDEA 2017.1 EAP for now.

Please see

In case you are using older version you can try workaround with socat described in the issue mentioned above.


Ok, thanks. I will continue to use the command line until 2017 is released then.


Please sign in to leave a comment.