-
Improvement
-
Resolution: Fixed
-
Blocker
-
Jenkins-2.32.2
It seems that the docker plugin is not able to connect to docker even when docker is configured on the same machine as the jenkins master and if you try to configure `unix:///var/run/docker.sock` you will get an exception:
org.apache.http.conn.UnsupportedSchemeException: unix protocol is not supported javax.ws.rs.ProcessingException: org.apache.http.conn.UnsupportedSchemeException: unix protocol is not supported at org.glassfish.jersey.apache.connector.ApacheConnector.apply(ApacheConnector.java:481) at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:252)
info:
- running docker commands works from both root and jenkins user on that machine (jenkins used being added to the docker group
- machine: fedora 25 using docker-engine (but also tested with fedora 23 running docker.io and got same results).
- The info-tips of the plugin suggest using `unix:///var/run/docker.sock` so it doesn't make any sense to get such an error. The sock file exists.
- jenkins stable: 2.32.2
Link to https://github.com/jenkinsci/docker-plugin/issues/496