Ow To Rename Docker Images Without Rebuilding It?

522    Asked by AlastairMcDade in Devops , Asked on Nov 17, 2022

I created one docker image, but I forgot to give some name, By default it has taken an anonymous name. Can someone tell me how can I rename docker image?

You can get docker rename image by docker tag command. Use the below given command to do that.


$ docker tag OldName:tag NewName:tag
Hope this will help.


Your Answer

Interviews

Parent Categories