The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

Build a job using a Docker image from a private repository

David Gard
Contributor
July 5, 2019

Hello,

We're looking at running jobs in Docker containers as opposed to in the agent environment. While it seems pretty easy to set up, I can't see any option for adding credentials for a private repository.

Is it possible to use Docker images from a private repository?

If not, I'd like to feed back that this feature is pretty useless. Most images on Docker hub run as a non-privileged user, meaning that we would not be able to install required packages (such as jq, Octo, and many, many more). To be honest, even if we could install those tools prior to building, having to do it every time would add far more overhead to the Bamboo server in terms of both time and bandwidth.

Thanks,
David

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Steffen Opel _Utoolity_
Community Champion
July 5, 2019

Unfortunately this is indeed not yet supported - please watch and vote for the following issue to increase Atlassian's priority for closing this notable gap:

Please note that the workaround listed there has been discussed in more detail in how to configure docker runner to authorize with private docker registry, so if your happen to target the Amazon Elastic Container Registry, the last comment by Stephen Leavitt points out that this special case can be nicely addressed via the Amazon ECR Docker Credential Helper meanwhile.

David Gard
Contributor
July 5, 2019

Thanks for your reply,

It's quite disappointing to see that Bamboo have marked this as low priority in the issue you linked and are not actively working to add this vital feature, especially given the rise in rise in popularity of containerisation.

I have added my vote, fingers crossed other do to.

Thanks,
David

TAGS
AUG Leaders

Atlassian Community Events