Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to copy the Quickstart bundles using command porter copy in Azure CLI #94

Open
unnatigupta2320 opened this issue Jun 26, 2021 · 1 comment

Comments

@unnatigupta2320
Copy link

Unable to copy porter bundle to personal Azure container registry for inspection. Using command
porter copy --source cnabquickstarts.azurecr.io/porter/dapr/bundle:latest --destination shradsacr.azurecr.io
Output:
porter copy --source cnabquickstarts.azurecr.io/porter/dapr/bundle:latest --destination shradsacr.azurecr.io
Beginning bundle copy to shradsacr.azurecr.io/bundle:latest. This may take some time.
Starting to copy image cnabquickstarts.azurecr.io/porter/dapr:latest...
Failed to copy image cnabquickstarts.azurecr.io/porter/dapr:latest: failed to authorize: failed to fetch anonymous token: unexpected status: 401 Unauthorized
Error: unable to copy bundle to new location: error preparing the bundle with cnab-to-oci before pushing: failed to authorize: failed to fetch anonymous token: unexpected status: 401 Unauthorized

Please let me know if we need specific permissions for copy bundles command or if I am missing anything

@unnatigupta2320 unnatigupta2320 changed the title unable to copy the Quickstart bundles using command porter copy --source cnabquickstarts.azurecr.io/porter/dapr/bundle:latest --destination shradsacr.azurecr.io in Azure CLI unable to copy the Quickstart bundles using command porter copy in Azure CLI Jun 26, 2021
@carolynvs
Copy link

Hi @unnatigupta2320, sorry for the slow response, the porter team doesn't watch this repository. In the future, if you use one of the communication channels from https://porter.sh/community or create an issue at https://github.com/getporter/porter, we can help more quickly.

Just in case you are still stuck on this one, when you do a porter copy, you need to first run docker login for the destination registry. If that does work please let me know and I can help further!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants