What is the problem you're trying to solve
To reduce disk usage, I'm trying to use discard_unpacked_layers.
Today discard_unpacked_layers config is specific to the CRI interface, but I'm using ctr images import --no-unpack
Describe the solution you'd like
Have a way to discard layers once unpacked, even when using ctr, and even when using --no-unpack (discard once unpacked / after first use)
Preferably a new containerd config, but a new ctr flag would do.
Additional context
Was first opened as a bug #7119 #7120
What is the problem you're trying to solve
To reduce disk usage, I'm trying to use
discard_unpacked_layers.Today
discard_unpacked_layersconfig is specific to the CRI interface, but I'm usingctr images import --no-unpackDescribe the solution you'd like
Have a way to discard layers once unpacked, even when using
ctr, and even when using--no-unpack(discard once unpacked / after first use)Preferably a new containerd config, but a new ctr flag would do.
Additional context
Was first opened as a bug #7119 #7120