Push tar.gz to container registry
Mar 4, 2021
Quick steps to push the tar.gz file to container registry.
In some situation we want push our tar.gz docker file to container registry please use below commands.
docker image load — input your-docker-file-name.tar.gz
now the docker image is loaded. You can see the loaded image by using below command
docker image ls
now we are ready to tag the loaded image
docker tag loaded-image-name:loaded-image-tag target-acr/new-image-name:new-image-tag
now the image is tagged and ready to push
docker push target-acr/new-image-name:new-image-tag
Now the image is available on your container registry