rm deletes a builder's configuration; --keep-state preserves its BuildKit cache volume so a later recreate starts warm. Without it, cache is deleted too and disk space is reclaimed. The default docker builder cannot be removed.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.