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,210 points
23,610 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,300 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,550 points
293 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,140 points
1,318 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,300 points
351 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,550 points
155,389 views