docker buildx build --no-cache-filter RUN -t myapp .
Bypass cache only for RUN instructions
no-cache-filter invalidates cached layers for specific Dockerfile instruction types, here RUN, while COPY and other steps stay cached. Faster than a blanket --no-cache when only shell commands changed. Combine with --progress=plain to watch each step.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.