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,260 points
42,019 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,460 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,620 points
781 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,719 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,460 points
2,444 views
+3 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,620 points
250,240 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