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

You redeploy my-app:latest but some nodes still run old code. Why?

Explanation

With IfNotPresent, a node reuses the image it has. Unchanged specs also don't trigger a rollout. Deploy immutable tags or digests instead.

Further reading

Problem with a question

Docker and CI/CD · Senior · question 29

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