How to rename Docker images without rebuilding it?

0 votes

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 in Docker by akhtar
• 24,830 points
2,010 views

1 answer to this question.

0 votes

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 by MD
• 55,740 points

Related Questions In Docker

0 votes
2 answers
0 votes
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,100 points
108 views
0 votes
1 answer

How to get docker-compose to always re-create containers from fresh images?

The containers are getting recreated to preserve ...READ MORE

answered Jul 27, 2018 in Docker by Kalgi
• 51,950 points
2,182 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
• 57,640 points
768 views
0 votes
1 answer

How to create our own docker image?

Hi@akhtar, There are two ways to create docker ...READ MORE

answered Mar 11 in Docker by MD
• 55,740 points
98 views
0 votes
1 answer

How can I connect a docker container to two docker networks that I have created?

Hi@akhtar, It's correct that the network argument of ...READ MORE

answered Mar 23 in Docker by MD
• 55,740 points
184 views