In correct command to create Azure container instance

Shig 20 Reputation points
2025-01-30T02:20:03.67+00:00

I needed to run:

az container create --resource-group az204-aci-rg \

--name mycontainer \

--image mcr.microsoft.com/azuredocs/aci-helloworld \

--ports 80 \

--dns-name-label $DNS_NAME_LABEL \

--location eastus \

--os-type Linux \

--cpu 1 \

--memory 1.5

The article missed last 3 parameters.

This question is related to the following Learning Module

Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
2,023 questions
{count} votes

1 answer

Sort by: Most helpful
  1. VarunTha 12,345 Reputation points Microsoft Vendor
    2025-02-07T15:33:42.8366667+00:00

    Hi Shig,
    Thank you for your patience.

    We have reached out to the content author and got a confirmation saying that they had fixed the issue.

    Please Accept the Answer & Upvote so that it will be useful for others in the community.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.