Pradumna Saraf
banner
pradumnasaraf.dev
Pradumna Saraf
@pradumnasaraf.dev
Open Source Developer | Docker Captain | Microsoft MVP | DevOps | Owner @rebasemedia

All my links: https://links.pradumnasaraf.dev
Also… I won something. Stay tuned for the next post!
November 5, 2025 at 6:00 AM
- every_: Pull if last update was older than a specific time (e.g. every_30m, every_2h)

For example, when I want to test the latest version of an image, I use pull_policy: always. This way, every time I run docker compose up, Docker, Inc., fetches the newest image.

(3/3)
September 5, 2025 at 4:26 AM
- never: Never pull, only use what’s local (fails if not found)
- missing (default)/if_not_present: Pull only if the image isn’t on your machine
- build: Build the image, even if one is already there
- daily / weekly: Pull if the last update was more than 1 day or 7 days.

(2/3)
September 5, 2025 at 4:26 AM