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

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

    XMLWordPrintable

Details

    • 32
    • 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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: