Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Cannot get docker connector to azurecr.io to work

    Scheduled Pinned Locked Moved Support
    10 Posts 2 Posters 39 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B Offline
      brett.polivka
      last edited by

      Hello,

      Does anyone have a docker connector successfully working against azurecr.io? (Azure Container Registry)

      No matter what I try, I just get a "manifest unknown" error back from ProGet. Even if I intentionally change the connector username or password to something that should fail, I still just get the same error. There is nothing useful in the logs, so I'm at a loss.

      Thanks

      1 Reply Last reply Reply Quote 0
      • Dan_WoolfD Offline
        Dan_Woolf inedo-engineer
        last edited by

        Hi @brett-polivka,

        I have a few questions for you.

        • What version of ProGet are you currently running?
        • Does your Azure Container Registry only include Docker images or does it also include OCI images?
        • Does your registry include HELM packages as well?

        Thanks,
        Dan

        1 Reply Last reply Reply Quote 0
        • B Offline
          brett.polivka
          last edited by

          Hi Dan,

          • I'm running ProGet 6.0.6
          • It only includes Docker images
          • It does not include Helm packages

          Thanks,
          Brett

          1 Reply Last reply Reply Quote 0
          • Dan_WoolfD Offline
            Dan_Woolf inedo-engineer
            last edited by

            Hi @brett-polivka,

            The manifest error is the generic error that the Docker CLI throws when it cannot find an image or something went wrong when pulling the image. Since you do not have any other package or container type (Helm, OCI, etc...) in your registry, it shouldn't cause any issue with ProGet.

            Do you see any of your ACR containers in the ProGet UI? ACR does support container searching (or at least it did last time I tested it). Have you tried to enable Attempt to search the container registry in your connector advanced options? That will allow ProGet to list the available images. Could you also attempt to search by the exact image name in ProGet? Do you see your image then? If not, my guess is that your private ACR URL and/or credentials are incorrect.

            Based on your ACR configuration, you may have to generate a token instead of using your password. See Microsoft's Authenticate with an Azure Container Registry documentation to see what credentials will work. Basically, if you see docker login under the "How to Authenticate" column, that username/password combination should work in ProGet.

            Thanks,
            Dan

            B 1 Reply Last reply Reply Quote 0
            • B Offline
              brett.polivka @Dan_Woolf
              last edited by

              Hi @Dan_Woolf,

              It looks like it works if there is a prefix on the repository name, but doesn't work if there isn't. I've tried setting the "Do not use library/ prefix for repositories without namespaces (this may be required for some container registries like Microsoft Container Registry)" option on the connector but it makes no difference.

              Thanks,
              Brett

              1 Reply Last reply Reply Quote 0
              • Dan_WoolfD Offline
                Dan_Woolf inedo-engineer
                last edited by

                Hi @brett-polivka,

                Thanks for giving us an update on this. We are digging into this a bit further to see what is going on. Just out of curiosity, for one of the images that are missing the prefix. If you type the image name as 'library<image name>`, does it work then?

                Thanks,
                Dan

                B 1 Reply Last reply Reply Quote 0
                • B Offline
                  brett.polivka @Dan_Woolf
                  last edited by

                  @Dan_Woolf Adding library/ to the image name also doesn't work.

                  1 Reply Last reply Reply Quote 0
                  • Dan_WoolfD Offline
                    Dan_Woolf inedo-engineer
                    last edited by

                    Hi @brett-polivka,

                    Thanks again for all the information. I was able to identify the issue and it will be fixed in ProGet 6.0.7. The issue is tracked in PG-2078. Once that is released, you will need to make sure Do not use library/ prefix for repositories without namespaces (this may be required for some container registries like Microsoft Container Registry) is checked.

                    Thanks,
                    Dan

                    B 1 Reply Last reply Reply Quote 0
                    • B Offline
                      brett.polivka @Dan_Woolf
                      last edited by

                      @Dan_Woolf Excellent. Thank you for your assistance with this!

                      1 Reply Last reply Reply Quote 0
                      • Dan_WoolfD Offline
                        Dan_Woolf inedo-engineer
                        last edited by

                        Hi @brett-polivka,

                        No problem! We are expecting this fix to be released on Friday. We will let you know if anything changes!

                        Thanks,
                        Dan

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • 1 / 1
                        • First post
                          Last post
                        Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation