the command is not right in document: https://docs.microsoft.com/en-us/azure/container-instances/container-instances-quickstart-powershell#create-a-container
[Enter feedback here] According to powershell command: https://docs.microsoft.com/en-us/powershell/module/az.containerinstance/new-azcontainergroup?view=azps-8.2.0, there is no parameter "image" in New-AzContainerGroup, but document suggests to create container group by command
New-AzContainerGroup -ResourceGroupName aci -Name mycontainer -Image mcr.microsoft.com/windows/servercore/iis:nanoserver -OsType Windows -DnsNameLabel aci-fiona-0811
and it returns error:
New-AzContainerGroup: Cannot process argument transformation on parameter 'ImageRegistryCredential'. Cannot convert value "mcr.microsoft.com/windows/servercore/iis:nanoserver" to type "Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20210901.IImageRegistryCredential[]". Error: "Cannot convert the "mcr.microsoft.com/windows/servercore/iis:nanoserver" value of type "System.String" to type "Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20210901.IImageRegistryCredential"."
please update the document correctly
Document Details
https://docs.microsoft.com/en-us/azure/container-instances/container-instances-quickstart-powershell#create-a-container ⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: ab030f18-c377-42e4-02ab-f9fda73253ad
- Version Independent ID: 2ac64eb4-0de4-6538-d97d-40ddb5ac5060
- Content: Quickstart - Deploy Docker container to container instance - PowerShell - Azure Container Instances
- Content Source: articles/container-instances/container-instances-quickstart-powershell.md
- Service: container-instances
- GitHub Login: @tomvcassidy
- Microsoft Alias: tomcassidy
@tfbubu111 Thanks for the feedback! We will check and update the document as appropriate.
Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.
still not working https://docs.microsoft.com/en-us/azure/container-instances/container-instances-quickstart-powershell#code-try-1
Any update? This still isn't working.
I have a similar issue - Is this resolved?
Thanks for your dedication to our documentation. Unfortunately, at this time we have been unable to review your issue in a timely manner and we sincerely apologize for the delayed response. Though the scope of our feedback channel here on GitHub covers specific documentation fixes, we can help redirect you to the right support channel to get an answer to your question: [reference to alternative product/service or community endpoint]. Because this issue does not relate to documentation, we are closing this issue. #please-close