Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Configure Bamboo to pull image from local registry?

Jason Templeman February 21, 2020

When I create a plan to run the job in Docker container (not Agent environment) it looks locally then tries to pull from docker.io.  Is it possible to configure Bamboo Server to check our local registry (which is Artifactory) before trying docker.io?  

NOTE: When I put the local registry information with the docker image (i.e. our-artifactory.com:443/docker-local/our-centos7) I get an error saying authorization failed and see no way to enter the username and password.  Have a seperate question regarding how to address this but have not gotten a response.

 

1 answer

0 votes
Jack Nolddor [Sweet Bananas]
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
February 22, 2020

Hi Jason,

 

Have you try to log into the server itself and with the user that runs Bamboo tool (usually called bamboo) login to your artifactory for the first time?

user@computer:~$ sudo su - bamboo
bamboo@computer:~$ docker login our-artifactory.com

 

Regards

Jason Templeman February 24, 2020

I have no access to the server other than the UI (without admin rights).  I only have access to the RAs.  I need to get instructions so I can inform our IT team on how to configure the server.

I'm fairly certain the server can reach the artifactory server.  Mainly wondering if Bamboo Server has a setting to list docker registries in order of priorities (i.e. local system then local registry and finally docker.io).  

I'm fairly certain that authentication will need to be specified somewhere just not sure where.  Have asked this question here
https://community.atlassian.com/t5/Bamboo-questions/Running-Bamboo-job-in-Docker-container/qaq-p/1303306

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events