How to push a docker image onto the Azure Container Registry ACR

0 votes
I have a docker image that i wish to push to ACR. Whats the procedure for it?
Jul 4, 2019 in Docker by Daisy
5,547 views

1 answer to this question.

0 votes
  • Before pushing local Docker image to ACR, use the following command to log in to Docker
# docker login xyContainerRegistry.azurecr.io -u #username# -p #password#
  • Tag the locally built image to the ACR repository:
# docker tag #xyImageId
  • xyContainerRegistry.azurecr.io/starterapp:latest

           push it to ACR using the following commands:

#docker push xyContainerRegistry.azurecr.io/starterapp:latest
  • verify that your images are in the registry, you can also use the command
# az acr repository list -n xyContainerRegistry


Hope this helps!!

If you need to know more about Azure, then you should join Microsoft Azure certification course today.

Thank you!!

answered Jul 4, 2019 by Sirajul
• 59,230 points

Related Questions In Docker

0 votes
1 answer

How to run a docker command from inside the container?

You must have come across the /var/run/docker.sock file, ...READ MORE

answered Jun 28, 2018 in Docker by Sophie may
• 10,620 points
3,517 views
+1 vote
1 answer

How to push a docker image to a private repository

You need to tag your image correctly ...READ MORE

answered Jul 26, 2018 in Docker by Kalgi
• 52,350 points
2,251 views
0 votes
1 answer

How to find a Docker container IP address from the command line?

Hi@akhtar, You can use the docker inspect command ...READ MORE

answered Sep 4, 2020 in Docker by MD
• 95,460 points
4,044 views
+4 votes
4 answers

How To Access a Service on Host From a Docker Container?

Adding to kalgi's answer, You can also ...READ MORE

answered Oct 16, 2018 in Docker by lina
• 8,220 points

edited Oct 16, 2018 by lina 34,134 views
+2 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,020 points
2,714 views
0 votes
2 answers

How to execute docker exec commande inside a docker container ?

You need to get inside the container ...READ MORE

answered Aug 13, 2019 in Docker by Sirajul
• 59,230 points
3,794 views
+1 vote
2 answers

How do I copy a file from docker container to host?

Here is a way which you can ...READ MORE

answered Aug 28, 2018 in Docker by Damon Salvatore
• 5,980 points
28,576 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP