We have installed Docker for windows toolbox and pulled docker container hello-world-nginx from Kitematic (Alpha) tool .
Now we need to configure docker plugin in jenkins and we are facing below connectivity issue while using docker url test connection step
DOCKER_HOST=tcp://192.168.99.100:2376
shaded.org.apache.http.ProtocolException: The server failed to respond with a valid HTTP response
What are things we need to done ?
Jenkins and Docker Tool box are both running in same machine.
MY Operating system configuration:
Windows 8.1 - X64bit
I’m just giving some steps, I have no idea how things work on Windows.
First you have to make sure that the Docker Daemon is also listening on a tcp port. (In Linux, default it has only a socket file configured and needs to be extra configured when it also needs to listen on ip). After the change, don’t forget to restart the Docker daemon;
Configure the docker plugin in Jenkins that docker configuration is found on tcp://192.168.99.100:2376