System Preferences/Network/Wi-Fi (or Ethernet)/click Advanced.../Proxies
localhost:2375
to Web Proxy Serverbrew install socat
(Homebrew should be pre-installed)remember to uncheck Web Proxy (HTTP) checkbox after you build an image.
sudo apt-get install openjdk-8-jdk
sudo apt-get install socat
In new terminal tab run socat -d TCP-LISTEN:2375,range=127.0.0.1/32,reuseaddr,fork UNIX:/var/run/docker.sock
gradle buildDocker
Terminate socat
process
[before] If you are using latest Docker and getting error org.apache.http.conn.HttpHostConnectException: Connect to localhost:2375
- right click on Docker tray icon / Settings / General. Select checkbox Expose daemon on tcp://localhost:2375 without TLS
gradle buildDocker
Service contains TFS SDK
from Microsoft. You may download latest SDK and update JAR in libs
folder. Then update build.gradle
according to your changes