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

Connect to Azure Container Registry #19

Open
bolognam opened this issue Aug 16, 2022 · 2 comments
Open

Connect to Azure Container Registry #19

bolognam opened this issue Aug 16, 2022 · 2 comments

Comments

@bolognam
Copy link

bolognam commented Aug 16, 2022

I've been following the julia_batch_docker.ipynb example, but trying to use Azure Container Registry instead of DockerHub and I've been using the container option in the parameters.json ("_CONTAINER": "myorgregistry.azurecr.io/myimage:v0.1.0") but I continue to get an error ContainerInvalidImage with unauthorized: authentication required, visit https://aka.ms/acr/authorization for more information. This is a private org container registry.

This is the closest example that I've found to another user attempting this solution: Azure/Batch#107
And here's some docs for Python code that seems to do what I want: https://docs.microsoft.com/en-us/azure/batch/batch-docker-container-workloads#prefetch-images-from-a-private-container-registry

To me it seems like I need to be using a managed identity and to create batch pools with them. Is this something that can be supported by AzureClusterlessHPC.jl? Or is there a better solution than what I've found?

Thank you for your help!

@bolognam
Copy link
Author

@philippwitte can you help me with this issue and #20?

@bolognam
Copy link
Author

Bump @philippwitte

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

1 participant