Docker Community Forums

Share and learn in the Docker community.

Autobuild fails does not have access to image in private repo

dockerhub
build
teamsorganizations

(Tgilkerson) #1

I have two Docker Cloud organizations lets call them qaorg and prodorg. As a result I have two private Docker Hub image repos, one for each (that is just how they do it). I setup up autobuild in my QA org but I hit an issue when I want to start using base docker images. My docker file has “FROM prodorg/my-base-image” but the autobuild fails because it does not find prodorg/my-base-image, remember prodorg is a private repo.

So my question, how can I give the autobuild process running in the qaorg access to the docker images stored in prodorg? I don’t want to make prodorg public.

I tried adding qaorg as a member in prodorg in the team section but it said I can add organizations.

Please help I am stuck.