Docker Beta on OSX with NetBeans 8.2 workaround

The next release of NetBeans (8.2) has a cool new build-in support for Docker.

Get latest NetBeans development build here.


But since I switched to native Docker integration on my Mac the connection broke as now Docker communicates via socket instead of docker-machine URL:


NetBeans would like to get a valid http or https URL, thus this URI scheme is currently not supported:


But with help of socat (e.g. via brew install socat) you can create a TCP port (e.g. 9090) listening on localhost attached to the Docker socket to establish a bidirectional connection:

socat tcp-listen:9090,fork UNIX:///var/run/docker.sock


Now we are talking







Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

11 thoughts on “Docker Beta on OSX with NetBeans 8.2 workaround”

  1. Wow – really nicely described. Got me through the same issue. It will be nice if you can also add a step to resolve “socket already in use” error. Sometimes the socket is not cleared and this will be a one stop shop to resolve that issue also. Extremely useful as I was running into the same issue on MAC and made life easier.

  2. I’m impressed, I must say. Seldom do I cme ahross a blog that’s equally educative and amusing, and wthout a doubt, you’ve hit thee naiil on the head.
    The issue is something nott enough folos are speaking intelligently about.
    Now i’m verty happy that I found this in my searxh for something regarding this.

  3. Hey I know this is off topikc but I was wondering if you knew oof anny widgets I could add to my
    blog that automatically tweet my newest twitter updates.
    I’ve been looking for a plug-in like this for quite
    some time and was hoping mayhbe yoou would have some experience with smething
    like this. Please let me know if you run into anything.
    I truly enjoy reading yor blog aand I look forward to your new updates.

  4. Magnificent goods from you, man. I’ve keep in mind your stuff previous to and you are simply too excellent.
    I actually like what you have acquired here, certainly like what you’re saying
    and the best way wherein you assert it. You are making it enjoyable and you still care for
    to keep it wise. I can’t wait to learn far more from you.
    This is really a wonderful site.

  5. I get pleasure from, result in I found just what I was having a look for.
    You have ended my 4 day long hunt! God Bless you man. Have a
    great day. Bye