Issue Type: Bug Bug
Affects Versions: current
Assignee: vjuranek
Components: docker-build-step
Created: 08/Aug/14 11:49 AM
Description:

When Docker is running on a remote machine controlled via REST API, docker-build-step waits forever for specified ports to open, because it tries to connect though Docker's internal NAT network.

[Docker] INFO: started container id 5d575f0c43d9
[Docker] INFO: Waiting for port 8080 on 172.17.0.11 (conatiner ID 5d575f0c43d9)

172.17.0.11 is the container's IPv4 address, which is only connectable from the Docker host. I'd rather expect the plugin to wait for the open port on the Docker host itself (or at a configurable location).

In this stage, the job can't be cancelled with the stop button and is blocking a build slot until timeout (maybe this timeout value should also be configurable?).

Environment: Linux amd64 + OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1ubuntu1)
Jenkins 1.565.1
docker-build-step 1.7

Docker 1.01 API 1.12 on remote host
Project: Jenkins
Priority: Major Major
Reporter: Julian Kassat
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to