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.

nb_dev
docker_beta

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:

unix:///var/tmp/docker.sock

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

nb_docker1

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

socat

Now we are talking

nb_docker2

nb_docker3

nb_docker4

nb_docker5

nb_docker6

Links

http://wiki.netbeans.org/Docker

https://blogs.oracle.com/geertjan/entry/docker_hub_in_netbeans_ide

http://bits.netbeans.org/download/trunk/nightly/latest/

http://www.dest-unreach.org/socat/

Leave a Reply

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

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

  1. I do like the way you have framed this particular difficulty plus it does indeed present me personally some fodder for consideration. On the other hand, from what I have experienced, I simply hope when other comments pile on that people today keep on point and in no way get started on a soap box regarding the news of the day. Anyway, thank you for this exceptional point and even though I do not really concur with it in totality, I respect the standpoint.

  2. I’m showing you the way dangerous the anti-conscience is, so that yyou will will take dream interpretation very
    seriously. Take away hate, greed, envy, and fear and replace all of them with
    love and kindness we can undertake it its arounnd us to change to
    gget a better tomorrow. This test centrer printout is tthe key to
    unlocking the entrancesway when it comes to passing the next CPIM attempt.

  3. 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.

  4. Please let me know if you’re looking for a author for your
    site. You have some really good articles and I think I would be a good asset.
    If you ever want to take some of the load off, I’d absolutely love to write some articles for your blog
    in exchange for a link back to mine. Please send
    me an email if interested. Thank you!

  5. The phone is integrated with 8-GB and 16-GB of storage space and expandable Micro
    – SD memory option that supports approximately 32GB memory.

    You feel if you possessed given your relationship some
    more effort and time it will been employed out.
    News keeps us iin touch with political affairs not merely of our country but additionally of most
    in the world.