pip 的 `--no-cache-dir` 有什麼用? - What is pip's `--no-cache-dir` good for?

問題:

I've recently seen the --no-cache-dir being used in a Docker file.我最近看到 Docker 文件中使用了--no-cache-dir I've never seen that flag before and the help is not explaining it:我以前從未見過那個標誌,幫助也沒有解釋它:

 --no-cache-dir              Disable the cache.
  1. Question: What is cached?問題:緩存是什麼?
  2. Question: What is the cache used for?問題:緩存有什麼用?
  3. Question: Why would I want to disable it?問題:我爲什麼要禁用它?

解決方案:

參考一: https://en.stackoom.com/question/35JGV
參考二: https://stackoom.com/question/35JGV
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章