Docker and CI/CD · Senior · Question 17 of 75

What is the difference between --cache-to ...,mode=min and mode=max?

Explanation

With multi-stage builds, max caches the builder stages too, so dependency installs are reused. It costs more storage and upload time.

Further reading

Problem with a question

Docker and CI/CD · Senior · question 17

Test yourself

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

Take this quiz