The image 'microsoft/aci-helloworld' in container group 'mycontainer' is not accessible

Federico Mita 26 Reputation points
2021-10-18T18:43:49.867+00:00

Hello everyone
I'm very green, as I'm currently studying for my Fundamentals exam. While studying through Skillpipe, I've been directed to a walkthrough to create a container instance. I'm following the instructions, but I get the following message when I go to create:

{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"InaccessibleImage","message":"The image 'microsoft/aci-helloworld' in container group 'mycontainer' is not accessible. Please check the image and registry credential."}]}

I really don't know what to do. I tried different things, but it's like moving about in a dark room, I'm not comfortable yet with the platform. The instructions are as follow:

1. Sign in to the Azure portal.
2. From the All services blade, search for and select Container instances and then click + Add, + Create, + New.
3. Provide the following Basic details for the new container instance (leave the defaults for everything else)):
Setting Value
Subscription Use default supplied
Resource group Create new resource group
Container name mycontainer
Region (US) East US
Image source Docker Hub or other registry
Image type Public
Image microsoft/aci-helloworld
OS type Linux
Size Leave at the default

4. Configure the Networking tab (replace xxxxx with letters and digits such that the name is globally unique). Leave all other settings at their default values.
Setting Value
DNS name label mycontainerdnsxxxxx

Note: Your container will be publicly reachable at dns-name-label.region.azurecontainer.io. If you receive a DNS name label not available error message following the deployment, specify a different DNS name label (replacing the xxxxx) and re-deploy.

5. Click Review and Create to start the automatic validation process.

6. Click Create to create the container instance.

7. Monitor the deployment page and the Notifications page.

I can't go ahead with the exercise if I don't fix this. I tried searching online, to no avail (to be fair, I didn't understand most of the advices because they were code-related and I'm not there yet). I really don't know what I'm getting wrong...does the resource group name have to be specific for this to work? Or does the "xxxxx" need to be substituted with some precise word? I really don't get where or what am I getting wrong.
Please, help me.

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
719 questions
0 comments No comments
{count} votes

Accepted answer
  1. Pradeep Kommaraju 2,551 Reputation points
    2021-10-18T20:36:44.87+00:00

    Hi @Federico Mita ,

    Thanks for reaching out to Microsoft Q&A Platform .

    I have tried to reproduce your issue and understood that the image path is incorrect .
    Please use mcr.microsoft.com/azuredocs/aci-helloworld instead of the microsoft/aci-helloworld

    Reference: https://hub.docker.com/_/microsoft-azuredocs-aci-helloworld

    Please do let me know if your issue is resolved and the answer is accepted .

    Thanks and Regards,
    Pradeep

    4 people found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. Jefferson Tavares 6 Reputation points
    2022-06-02T21:37:50.497+00:00

    Thanks for mcr.microsoft.com/azuredocs/aci-helloworld

    1 person found this answer helpful.
    0 comments No comments

  2. Roberto Alday 5 Reputation points
    2023-01-20T13:54:37.9933333+00:00

    It seems that's not longer available :/

    1 person found this answer helpful.
    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.