Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect IP used in SSH conenction #14

Closed
prologic opened this issue Apr 25, 2014 · 1 comment
Closed

Incorrect IP used in SSH conenction #14

prologic opened this issue Apr 25, 2014 · 1 comment

Comments

@prologic
Copy link

I've found a bug where if you configure the Docker plugin such as:

  • Docker Host: 172.17.42.1

Where the Jenkins Master is a Docker Container itself.

When Jenkins spawns new salves in the configuration
it incorrectly tries to perform an SSH connection to
172.17.42.1:49152 for example rather than the
actual IP Address of the newly formed Container.

@magnayn
Copy link
Contributor

magnayn commented May 13, 2014

No, that's right - your docker host will be mapping port 49152 to the
'inner' port 22.

On Fri, Apr 25, 2014 at 12:53 PM, James Mills notifications@github.comwrote:

I've found a bug where if you configure the Docker plugin such as:

  • Docker Host: 172.17.42.1

Where the Jenkins Master is a Docker Container itself.

When Jenkins spawns new salves in the configuration
it incorrectly tries to perform an SSH connection to
172.17.42.1:49152 for example rather than the
actual IP Address of the newly formed Container.


Reply to this email directly or view it on GitHubhttps://github.com//issues/14
.

@magnayn magnayn closed this as completed Jun 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants