Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't create container scratch per base layer #2002

Merged
merged 1 commit into from
Feb 15, 2024

Commits on Feb 13, 2024

  1. Don't create container scratch per base layer

    For WCIFS based layers, a container scratch base VHD (and a differencing VHD) both are created per unique base
    layer. However, with UnionFS we
    don't add any reparse points and the VHD is empty, so we don't need to create a VHD per unique base layer. Now
    the CimFS snapshotter will handle container scratch VHD creation and the LayerWriter will only create the VHD
    for the UtilityVM. (The UtilityVM VHD still needs to be created per unique base layer since the BCD of that
    layer is configured to boot from the UtilityVM VHD and the BCD is unique per image)
    
    Signed-off-by: Amit Barve <ambarve@microsoft.com>
    ambarve committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    e936e98 View commit details
    Browse the repository at this point in the history