This repository has been archived by the owner on Jan 22, 2018. It is now read-only.
forked from jenkinsci/docker-plugin
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow to use unix sockets as URL (jenkinsci#206, JENKINS-23301)
- allow to directly connect to the container without going through the mapped port on the host This is useful if Jenkins itself runs as a container with the host's Docker socket mapped[1]. To use the docker plugin in this case simply set the Docker URL to "unix:///var/run/docker.sock". [1] https://jpetazzo.github.io/2015/09/03/do-not-use-docker-in-docker-for-ci/
- Loading branch information
1 parent
f2e134b
commit 9b0f231
Showing
4 changed files
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ work | |
*.iml | ||
/target | ||
.* | ||
*~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ugin/src/main/resources/com/nirima/jenkins/plugins/docker/DockerCloud/help-serverUrl.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<div> | ||
The URL to use to access your Docker server API (e.g: http://172.16.42.43:4243). Only http:// supported. | ||
The URL to use to access your Docker server API (e.g: http://172.16.42.43:4243 or unix:///var/run/docker.sock). | ||
</div> |
Would I be right in assuming that the IP address here will be in the "private" IP range for docker containers (172.16.x.x or whatever)?