11908/how-to-push-a-docker-image-to-a-private-repository
I have a private repo on the dockerhub named me-private.
I have docker images tagged as me/my-image
When I push my me/my-image, I end up always hitting the public repo.
How do I move it to the private repo?
You need to tag your image correctly first with your registryhost:
docker tag [OPTIONS] IMAGE[:TAG] [REGISTRYHOST/][USERNAME/]NAME[:TAG]
Then docker push using that same tag.
docker push NAME[:TAG]
Example:
docker tag 518a41981a6a myRegistry.com/myImage docker push myRegistry.com/myImage
Before pushing local Docker image to ACR, ...READ MORE
To save an image to any file ...READ MORE
Execute the update and the install command ...READ MORE
When you use docker-compose down, all the ...READ MORE
Hey @nmentityvibes, you seem to be using ...READ MORE
It can work if you try to put ...READ MORE
To solve this problem, I followed advice ...READ MORE
Adding to kalgi's answer, You can also ...READ MORE
You can even install it using a ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.