'Build docker image with same name
I created a docker image using "docker build ABC:1.0 ."
Following "docker image ls"
REPOSITORY TAG IMAGE ID CREATED SIZE
ABC 1.0. exxx12345 35 min ago 4.24 GB
There were some issues with missing directory so I deleted the above using "docker image rmi -f ABC:1.0"
I created another image with same name "docker build ABC:1.0 ."
Following "docker image ls"
REPOSITORY TAG IMAGE ID CREATED SIZE
ABC 1.0. exxx12345 36 min ago 4.24 GB
It appears that the previously created image was never deleted looking at the time of creation and IMAGE ID. Please help me understand why docker is behaving like this.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
