[JIRA] (JENKINS-52737) Using a docker agent from a private registry does pass the proxy configuration to the docker container

7 views
Skip to first unread message

krassimir_valev@yahoo.com (JIRA)

unread,
Jul 25, 2018, 8:13:01 AM7/25/18
to jenkinsc...@googlegroups.com
Krassimir Valev created an issue
 
Jenkins / Bug JENKINS-52737
Using a docker agent from a private registry does pass the proxy configuration to the docker container
Issue Type: Bug Bug
Assignee: Andrew Bayer
Components: pipeline-model-definition-plugin
Created: 2018-07-25 12:12
Priority: Major Major
Reporter: Krassimir Valev

I assume that this is not an issue with the model definition itself, but elsewhere. However I just experienced it when configuring a docker agent that uses an image from a private registry. In this case the corporate proxy settings (which are configured in .docker/config.json) and which are usually passed by the docker daemon to the container (via the HTTP(S)_PROXY/NO_PROXY environment variables) are missing from the container. If I switch to a DockerHub image (e.g. ubuntu:16.04), the proxy settings are present in the container.

This is more or less the same issue as JENKINS-52724, but manifested when using a docker agent and not when building a docker image.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)

o.v.nenashev@gmail.com (JIRA)

unread,
May 13, 2019, 5:53:02 PM5/13/19
to jenkinsc...@googlegroups.com
Oleg Nenashev updated an issue
Change By: Oleg Nenashev
Component/s: docker-commons-plugin
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

o.v.nenashev@gmail.com (JIRA)

unread,
May 13, 2019, 5:53:03 PM5/13/19
to jenkinsc...@googlegroups.com
Change By: Oleg Nenashev
Status: Open Fixed but Unreleased
Assignee: Andrew Bayer
Resolution: Fixed
Released As: Docker Commons Plugin 1.15

o.v.nenashev@gmail.com (JIRA)

unread,
May 13, 2019, 5:53:04 PM5/13/19
to jenkinsc...@googlegroups.com

bitwiseman@gmail.com (JIRA)

unread,
Oct 22, 2019, 11:24:33 PM10/22/19
to jenkinsc...@googlegroups.com
Liam Newman closed an issue as Fixed
 

Bulk closing resolved issues.

Change By: Liam Newman
Status: Resolved Closed
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages