Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Azure by (13.1k points)

I have created an Azure container registry and try to perform the task as to pull the docker image from Azure container registry. Below is the command I'm using:

az acr task create \

--name krushnaTask \

--registry krushna \

--cmd python-hello \

--schedule "1 10 * * *" \

--context /dev/null

But, it is throwing an error. Can anyone help me with this?

1 Answer

0 votes
by (26.7k points)

You have to change your like below, in order to rectify the error:

az acr task create \

--name krushnaTask \

--registry krushna \

--cmd krushna.azurecr.io/python-hello \

--schedule "1 10 * * *" \

--context /dev/null

I hope this will help.

Want to become an Azure expert? join azure architect training now!!

Browse Categories

...