How to rename Docker images without rebuilding it

+1 vote

Hi Guys,

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?

May 19, 2020 in Docker by akhtar
• 38,230 points
41,231 views

1 answer to this question.

0 votes
Best answer

Hi@akhtar,

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

$ docker tag OldName:tag NewName:tag

Hope this will help.

answered May 19, 2020 by MD
• 95,440 points

selected Dec 15, 2020 by MD

Related Questions In Docker

0 votes
2 answers
+1 vote
2 answers
0 votes
1 answer

How to remove old Docker images?

Run the following command: docker $ (docker images ...READ MORE

answered Jul 17, 2018 in Docker by Sophie may
• 10,610 points
602 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,090 points
2,471 views
0 votes
1 answer

How to rename docker service in swarm?

Hi@akhtar, You can run the docker service update ...READ MORE

answered Dec 28, 2020 in Docker by MD
• 95,440 points
1,834 views
+2 votes
12 answers

How to run multiple commands in docker at once?

In order to run multiple commands in ...READ MORE

answered Jul 19, 2018 in Docker by Sophie may
• 10,610 points
248,166 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