Sometimes, we don't need Docker build cache, and for those cases we can use --no-cache option.
--no-cache
docker build --no-cache --tag test .
Source: StackOverFlow
Last updated 2 months ago