Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-14545

Bitbucket pipeline cannot pull docker image from a v2 API repository

    XMLWordPrintable

Details

    • 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

      Hi,

      • I push my image on a jfrog docker registry
      • I set my bitbucket-pipeline to pull my image from this registry [(https://confluence.atlassian.com/bitbucket/using-docker-images-as-build-environments-792298897.html)](Link URL)

      exemple :

      #!yml
      
      image:
        name: docker.your-company-name.com/account-name/java:8u66
        username: $USERNAME
        password: $PASSWORD
        email: $EMAIL
      
      • If jfrog docker registry is V2 API version, bitbucket-pipeline failed telling "Unsupported docker v2 repository"
      • If I configure jfrog docker registry with V1 API version it's OK.

      Today with docker client CE 17.06, I can fallback to api V1 by configuring daemon with

      #!bash
      
       --disable-legacy-registry=false 
      

      but in future releases, docker client (> 17.12) will not support v1 api version anymore (https://docs.docker.com/release-notes/docker-ce/)...

      regards,

      Attachments

        Activity

          People

            Unassigned Unassigned
            ebbb6f0c4a61 lsorin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: