You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by an...@apache.org on 2017/01/05 08:21:06 UTC

jclouds git commit: update Docker README

Repository: jclouds
Updated Branches:
  refs/heads/master 6bc82ee26 -> c2cda931a


update Docker README

improve description for osx


Project: http://git-wip-us.apache.org/repos/asf/jclouds/repo
Commit: http://git-wip-us.apache.org/repos/asf/jclouds/commit/c2cda931
Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/c2cda931
Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/c2cda931

Branch: refs/heads/master
Commit: c2cda931a5dd5efe15b727585721d45c1d8d51dd
Parents: 6bc82ee
Author: Andrea Turli <an...@gmail.com>
Authored: Wed Jan 4 09:57:10 2017 +0100
Committer: Andrea Turli <an...@gmail.com>
Committed: Thu Jan 5 09:20:36 2017 +0100

----------------------------------------------------------------------
 apis/docker/README.md | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds/blob/c2cda931/apis/docker/README.md
----------------------------------------------------------------------
diff --git a/apis/docker/README.md b/apis/docker/README.md
index fef97b3..fb3c0d3 100644
--- a/apis/docker/README.md
+++ b/apis/docker/README.md
@@ -50,6 +50,21 @@ export DOCKER_HOST="http://localhost:2375/"
 mvn -Plive integration-test
 ```
 
+Notice, if you are using [Docker for Mac](https://docs.docker.com/engine/installation/mac/), Docker Remote API may not be available over HTTP. 
+In the [Known issue]{https://docs.docker.com/docker-for-mac/troubleshoot/#known-issues) Docker team recommend to use [socat](http://www.dest-unreach.org/socat/)
+to expose `docker.sock` over tcp. You may find useful the following simple commands:
+
+```
+docker run -d -v /var/run/docker.sock:/var/run/docker.sock -p 127.0.0.1:1234:1234 bobrik/socat TCP-LISTEN:1234,fork UNIX-CONNECT:/var/run/docker.sock
+```
+
+and then 
+
+```
+export DOCKER_HOST=http://localhost:1234
+mvn -Plive integration-test
+```
+
 # How it works