You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -27,35 +26,22 @@ If you do not have access to a Docker server or just want to execute the build q
27
26
28
27
$ mvn clean install -DskipITs
29
28
30
-
By default Docker server is using UNIX sockets for communication with the Docker client, however docker-java
31
-
client uses TCP/IP to connect to the Docker server by default, so you will need to make sure that your Docker server is
32
-
listening on TCP port. To allow Docker server to use TCP add the following line to /etc/default/docker
29
+
By default the docker engine is using local UNIX sockets for communication with the docker CLI so docker-java
30
+
client also uses UNIX domain sockets to connect to the docker daemon by default. To make the docker daemon listening on a TCP (http/https) port you have to configure it by setting the DOCKER_OPTS environment variable to something like the following:
However you can force docker-java to use UNIX socket communication by configure the following (see [Configuration](.#Configuration) for details):
37
-
38
-
DOCKER_HOST=unix:///var/run/docker.sock
39
-
DOCKER_TLS_VERIFY=0
40
-
33
+
41
34
More details about setting up Docker server can be found in official documentation: http://docs.docker.io/en/latest/use/basics/
42
35
43
-
Now make sure that docker is up:
36
+
To force docker-java to use TCP (http) configure the following (see [Configuration](https://github.com/docker-java/docker-java#configuration) for details):
Supports a subset of the Docker Remote API [v1.22](https://github.com/docker/docker/blob/master/docs/reference/api/docker_remote_api_v1.22.md), Docker Server version 1.10.x
0 commit comments