What flag skips the cache when building a Docker image?

  1. --skip-cache
  2. --no-cache
  3. --build-clean
  4. --ignore-cache
Correct answer --no-cache

Explanation

`--no-cache` ensures Docker doesn’t use any cached layers.

Update: Admin added a tag on this question

Topics

By Admin · · 42 views