I am trying to build a custom image and tag it. I am using this command:
docker build -t chatbot:5 .
At the end it returns:
Successfully built f5fbad09c6ae
Successfully tagged chatbot:5
However, when i run the command docker images i see this line (among others):
chatbot 5 f5fbad09c6ae 6 days ago 832MB
EDIT: I also see that different versions of this image have the same image id
Why it says created 6 days ago?
Use --no-cache to rebuild
docker build -t chatbot:5 . --no-cache
If it still doesn't work, just remove the image first
docker rmi chatbot:5
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With