You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Usually, I create a lot of BC containers, but they are deleted frequently (with also system prune, etc.)
Now, my question is this:
Docker tries to reuse the layer that already has, why does it seem that he always uses something new each time?
Right now the windowsfilter folder is at 100 Gb. and it keeps getting larger and I have only 2 containers!
Is there a generic, plain and simple base image that BcContainerHelper can use (that works with the majority of Win Updates) that is also not so big?
The text was updated successfully, but these errors were encountered:
For me BC is running at about 10Gb/image, however, the Microsoft versions of docker seem to have a habit of losing layers. Have a look at the script Find-OrphanDockerLayers.ps1, it cross-references the windowsfilter directory with defined images and containers and (optionally) marks bad ones for deletion. The docker daemon will delete about 5-6 marked layers each time it shuts down (You may need to restart it several times).
BTW: Windows containers cannot use most versions of windows as a guest. The Guest normally has to match the host pretty closely. This even applies to "HyperV" isolation though at least that tends to work for more. Neither mode is even close to the compatibility you get with Linux (if it were you'd be able to run Windows-XP in a container).
Hi,
Usually, I create a lot of BC containers, but they are deleted frequently (with also system prune, etc.)
Now, my question is this:
Docker tries to reuse the layer that already has, why does it seem that he always uses something new each time?
Right now the windowsfilter folder is at 100 Gb. and it keeps getting larger and I have only 2 containers!
Is there a generic, plain and simple base image that BcContainerHelper can use (that works with the majority of Win Updates) that is also not so big?
The text was updated successfully, but these errors were encountered: