File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -31,11 +31,13 @@ If you do not have access to a Docker server or just want to execute the build q
3131 $ mvn clean install -DskipITs
3232
3333By default Docker server is using UNIX sockets for communication with the Docker client, however docker-java
34- client uses TCP/IP to connect to the Docker server, so you will need to make sure that your Docker server is
34+ client uses TCP/IP to connect to the Docker server by default , so you will need to make sure that your Docker server is
3535listening on TCP port. To allow Docker server to use TCP add the following line to /etc/default/docker
3636
3737 DOCKER_OPTS="-H tcp://127.0.0.1:2375 -H unix:///var/run/docker.sock"
3838
39+ However you can force docker-java to use UNIX socket communication by configure the following url: ``` unix:///var/run/docker.sock ```
40+
3941More details setting up Docker server can be found in official documentation: http://docs.docker.io/en/latest/use/basics/
4042
4143Now make sure that docker is up:
You can’t perform that action at this time.
0 commit comments