Skip to content

Where is DockerHub Counter Part for Microsoft Container Registries?Β #6855

@siegfried01

Description

@siegfried01

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?
(2) how about a bicep feature to support DockerHub?

Thanks

Siegfried

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions