We have some --mount=type=cache mounts for our local builds which will take ages to regenerate if they are pruned.
Can cache mounts in general (or specific ones) be excluded from docker system prune
? Surprisingly it seems that this prunes cached mounts.