I am trying to pull an image that should also be pulling the aspnet:4.7 image. However docker keeps telling me the image "Already exists", but it does not. Is there a way to tell Docker for Windows to pull the required images anyways?
PS C:\WINDOWS\system32> docker pull -a [hidden]/mycode
dev: Pulling from [hidden]/mycode
3889bb8d808b: Already exists
e29afd68a947: Already exists
36f010181129: Already exists
94c1c860b007: Already exists
d8096eabbf13: Already exists
67025ded22a8: Already exists
dbe75d79f130: Already exists
84d3d4630614: Already exists
301ba58699fa: Already exists
5e9f3c14f629: Already exists
90fd39402ca5: Already exists
4791db5edc55: Pull complete
1da86da74a58: Pull complete
3acc18896b8f: Pull complete
Digest: sha256:dc7e28154e63d5c22a210c314b4a80dcdba7baeea0ebf853445853680276293d
prod: Pulling from [hidden]/mycode
3889bb8d808b: Already exists
e29afd68a947: Already exists
36f010181129: Already exists
94c1c860b007: Already exists
d8096eabbf13: Already exists
67025ded22a8: Already exists
dbe75d79f130: Already exists
84d3d4630614: Already exists
301ba58699fa: Already exists
5e9f3c14f629: Already exists
a1fa39b61ce3: Already exists
98fa6868a880: Pull complete
10db2dd5f47b: Pull complete
5c881ba7245b: Pull complete
Digest: sha256:8b0464fe849148f4fb3c8e165cc7539823d974171bdb596bed48dd91bd9da20d
Status: Downloaded newer image for brunofvalli/xehub
PS C:\WINDOWS\system32> docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
[hidden]/mycode dev 6e8a0b8dd5f9 24 hours ago 11.8GB
[hidden]/mycode prod 98a5df79a3ce 24 hours ago 11.8GB
PS C:\WINDOWS\system32>
I have tried to do a
docker rmi 3889bb8d808b
But it tell me the image does not exist.
How do I delete these cached images? Or how do I force Docker to download the image anyways?
EDIT I guess I should have started with the problem. The microsoft/aspnet:4.7 layer/image is about 4GB is size. Currently when I try to build my application using this layer/image it is failing, my guess is that it got corrupted, since doing in another machine works fine. I want to re-fetch this base image, but doing docker rmi is not removing this "cached" image/layer from my system, so I get this Already exists message. I want to re-download the 4GB image again. Is there a way to do this? I am getting really close on just reinstall Windows 10.
