Where is DockerHub Counter Part for Microsoft Container Registries? #6862
-
|
I've been studying the show notes https://gist.github.com/seesharprun/d81db9a51fa1868717dad58d0da44548 for Sidney's tutorial https://www.youtube.com/watch?v=4Kxkgftty7w on using github workflows and bicep to deploy a simple ASP.NET/Razor site to the App Service... I see Sidney uses bicep to store his docker image in the Microsoft Container Registry (MCR)... resource registry 'Microsoft.ContainerRegistry/registries@2021-12-01-preview' = {
name: '<name-of-acr-resource>'
location: location
sku: {
name: 'Standard'
}
properties: {
adminUserEnabled: true
}
}How would I modify Sidney's bicep script to use DockerHub instead of MCR (because DockerHub is free). Does bicep support Docker hub? If not, (1) what is the workaround? What would the powershell command be that I might embed in the bicep code? Thanks Siegfried |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 14 replies
-
|
To clarify, this demo appears to be using ACR not MCR. MCR is only first-party images provided by Microsoft. The demo hosts the registry in ACR, but you could host an image wherever you want. The key thing you need is a URL to your image, wherever it is stored. That is what Sydney provided to his ACI resource. Does that help clarify? |
Beta Was this translation helpful? Give feedback.
To clarify, this demo appears to be using ACR not MCR. MCR is only first-party images provided by Microsoft.
The demo hosts the registry in ACR, but you could host an image wherever you want. The key thing you need is a URL to your image, wherever it is stored. That is what Sydney provided to his ACI resource. Does that help clarify?