Docker and CI/CD · Junior · Question 74 of 75

What does docker build --no-cache do?

Explanation

Useful when a cached RUN apt-get update or RUN npm ci layer hides newer packages. Normally the cache is what makes rebuilds fast.

Further reading

Problem with a question

Docker and CI/CD · Junior · question 74

Test yourself

Take the Docker and CI/CD · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz