Uploaded image for project: 'Bamboo'
  1. Bamboo
  2. BAM-19731

Add Capability for 'Docker Runner' to connect to private image registry

    XMLWordPrintable

Details

    • 5
    • 1
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Problem Definition

      Currently, Docker Runner only connects to public Docker Image Registries to pull images from, such as hub.docker.com

      Please add the capability to connect to private registries to pull images.

      Suggested Solution

      Allow auth to private registries through input credentials, or the Shared Credentials

      Workaround

      Add the docker login command to the .profile of the Remote Agent user, for each Agent which will be using the Docker Runner build capability.

      docker login -u <username> -p <password> <registryhost:port>
      

      To keep from having passwords stored in plain text in a script you can use the credential helper as outlined in the documentation for docker login

      Attachments

        Activity

          People

            Unassigned Unassigned
            rwatson@atlassian.com Robert W
            Votes:
            44 Vote for this issue
            Watchers:
            28 Start watching this issue

            Dates

              Created:
              Updated: