I'm reopening this issue because i have no way to reopen the previous one.
#688
I'm noticing different behavior if running the same version on windows server 2016 and windows 10. On server it doesn't appear to cleanup the same amount of stuff. In this example i run the same command to delete the image, prune and then pull again. You will see on windows 10 it had to download several more layers than on server 2016, so it has the appearance that some of the layers don't get removed.
docker version
docker image rm docker.paylocity.com:5000/paylocity/wsc-dotnet-v15-452-build:1.0.0 -f
docker image prune -f
docker pull docker.paylocity.com:5000/paylocity/wsc-dotnet-v15-452-build:1.0.0
Windows Server 2016 Standard (1607, 14393.447)
PS C:\Users\SFlanders\Desktop\Build.Scripts> docker version
Client:
Version: 17.03.1-ee-3
API version: 1.27
Go version: go1.7.5
Git commit: 3fcee33
Built: Thu Mar 30 19:31:22 2017
OS/Arch: windows/amd64
Server:
Version: 17.03.1-ee-3
API version: 1.27 (minimum version 1.24)
Go version: go1.7.5
Git commit: 3fcee33
Built: Thu Mar 30 19:31:22 2017
OS/Arch: windows/amd64
Experimental: false
PS C:\Users\SFlanders\Desktop\Build.Scripts> docker image rm docker.paylocity.com:5000/paylocity/wsc-dotnet-v15-452-build:1.0.0 -f
Untagged: docker.paylocity.com:5000/paylocity/wsc-dotnet-v15-452-build:1.0.0
Untagged: docker.paylocity.com:5000/paylocity/wsc-dotnet-v15-452-build@sha256:6d93ec013ebb02315b71ee866fcde4384ac1f0c05398e0634e1065dac5a90043
Deleted: sha256:505fccd3d7e5085bca6768dacc3f594554776cdc629fb2626be80c9a6cc00ea9
Deleted: sha256:51306f576c3b94b1ac3545056fa300079971b8e4bddaa9bcf5de66140b92b8dd
Deleted: sha256:f4fa48e813b5a6cd4bf6c1cfb71191ae3f34fe4e7a54f144a53bd2a75b9253bf
Deleted: sha256:9dd552f8aebde76055176b791d6ed66847ff4f5aca7d2e48612b8a345f0a7137
Deleted: sha256:18cfb346bb12168e46e9b58e9fb6486dfae3cde6794ebd887b2442be55cd76fa
Deleted: sha256:3cbd42c797c4a39ad73c65a25ca412cb8a98a33041028996cf81c9728721f142
Deleted: sha256:bb986a3e598754e2ceb29135b81d31041d095a93293a7fcdf073ff440279b2c8
Deleted: sha256:6e659a5894c5e9e84fc5bb62b31b7b6341132340b8f708add231d4ce99b7a4fa
PS C:\Users\SFlanders\Desktop\Build.Scripts> docker image prune -f
Total reclaimed space: 0 B
PS C:\Users\SFlanders\Desktop\Build.Scripts> docker pull docker.paylocity.com:5000/paylocity/wsc-dotnet-v15-452-build:1.0.0
1.0.0: Pulling from paylocity/wsc-dotnet-v15-452-build
3889bb8d808b: Already exists
503d87f3196a: Already exists
876c6fd7689c: Already exists
deda1fa6037c: Already exists
44666fec49b4: Already exists
b07c33049823: Already exists
ca31f682a768: Already exists
b46addb5ed15: Already exists
49ef4ef33eaa: Already exists
b28e6bcbaa6f: Already exists
d3ea633a6176: Already exists
4d0a6d0cff19: Already exists
eac561e587a4: Already exists
b6d79ea2d0cf: Already exists
31687b1c3e95: Already exists
bdaabbbddac7: Already exists
81df1ab623bf: Already exists
7b8f4d845ba3: Already exists
a24f8908105e: Already exists
b1b51a829c3b: Pull complete
146472b463e5: Pull complete
6acb0f73bcb3: Pull complete
91924a0c210d: Pull complete
51bed710962a: Pull complete
8d1dffa3f6d7: Pull complete
4ac3fddb76b4: Pull complete
Digest: sha256:6d93ec013ebb02315b71ee866fcde4384ac1f0c05398e0634e1065dac5a90043
Status: Downloaded newer image for docker.paylocity.com:5000/paylocity/wsc-dotnet-v15-452-build:1.0.0
PS C:\Users\SFlanders\Desktop\Build.Scripts>
Windows 10 Enterprise (1607, 14393.1066)
C:\Windows\system32>docker version
Client:
Version: 17.03.1-ee-3
API version: 1.27
Go version: go1.7.5
Git commit: 3fcee33
Built: Thu Mar 30 19:31:22 2017
OS/Arch: windows/amd64
Server:
Version: 17.03.1-ee-3
API version: 1.27 (minimum version 1.24)
Go version: go1.7.5
Git commit: 3fcee33
Built: Thu Mar 30 19:31:22 2017
OS/Arch: windows/amd64
Experimental: false
C:\Windows\system32>docker image rm docker.paylocity.com:5000/paylocity/wsc-dotnet-v15-452-build:1.0.0 -f
Error response from daemon: No such image: docker.paylocity.com:5000/paylocity/wsc-dotnet-v15-452-build:1.0.0
C:\Windows\system32>docker image prune -f
Total reclaimed space: 0 B
C:\Windows\system32>docker pull docker.paylocity.com:5000/paylocity/wsc-dotnet-v15-452-build:1.0.0
1.0.0: Pulling from paylocity/wsc-dotnet-v15-452-build
3889bb8d808b: Already exists
503d87f3196a: Already exists
876c6fd7689c: Pull complete
deda1fa6037c: Pull complete
44666fec49b4: Pull complete
b07c33049823: Pull complete
ca31f682a768: Pull complete
b46addb5ed15: Pull complete
49ef4ef33eaa: Pull complete
b28e6bcbaa6f: Pull complete
d3ea633a6176: Pull complete
4d0a6d0cff19: Pull complete
eac561e587a4: Pull complete
b6d79ea2d0cf: Pull complete
31687b1c3e95: Pull complete
bdaabbbddac7: Pull complete
81df1ab623bf: Pull complete
7b8f4d845ba3: Pull complete
a24f8908105e: Pull complete
b1b51a829c3b: Pull complete
146472b463e5: Pull complete
6acb0f73bcb3: Pull complete
91924a0c210d: Pull complete
51bed710962a: Pull complete
8d1dffa3f6d7: Pull complete
4ac3fddb76b4: Pull complete
Digest: sha256:6d93ec013ebb02315b71ee866fcde4384ac1f0c05398e0634e1065dac5a90043
Status: Downloaded newer image for docker.paylocity.com:5000/paylocity/wsc-dotnet-v15-452-build:1.0.0
I'm reopening this issue because i have no way to reopen the previous one.
#688
I'm noticing different behavior if running the same version on windows server 2016 and windows 10. On server it doesn't appear to cleanup the same amount of stuff. In this example i run the same command to delete the image, prune and then pull again. You will see on windows 10 it had to download several more layers than on server 2016, so it has the appearance that some of the layers don't get removed.
Windows Server 2016 Standard (1607, 14393.447)
Windows 10 Enterprise (1607, 14393.1066)