Does docker build --no-cache
disable both Layer Cache and Cache Mount?
#5876
Unanswered
jackblackevo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When using
docker build --no-cache
, does it disable only the layer cache, or does it also disable cache mount?I have read the documentation:
And also the description of the
--no-cache
flag in thedocker buildx build
documentation:However, I'm unsure whether the cache mentioned in the documentation includes both the layer cache and cache mount. The docs do not clearly state whether both are disabled by the
--no-cache
flag.Thank you all for your help! Much appreciated!
Beta Was this translation helpful? Give feedback.
All reactions