All Projects → hortonworks → docker-socat

hortonworks / docker-socat

Licence: other
No description, website, or topics provided.

Programming Languages

shell
77523 projects
Makefile
30231 projects

The latest 1.3.0 version of boot2docker changes a couple of things:

  • comes with TLS enabled by default
  • changes default port from 2375 to 2376
  • needs 3 env variable to be set

Issue

While switching on TLS is highly recommended, but its not backward compatible. Some tools or environments are relying to be able to connect to Docker via simple http. So after upgrading to 1.3.0 they might break.

Workaround

One solution is to start a container which uses socat to proxy the unix socket file as tcp port. It is containerized for you:

$(docker run hortonworks/socat)

Now you can reach Docker the old way:

curl http://192.168.59.103:2375/_ping
OK
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].