Skip to content

Commit 4cc42b2

Browse files
authored
Compose: pull_policy update (#23371)
<!--Delete sections as needed --> ## Description adds compose-spec/compose-spec#612 ## Related issues or tickets <!-- Related issues, pull requests, or Jira tickets --> ## Reviews <!-- Notes for reviewers here --> <!-- List applicable reviews (optionally @tag reviewers) --> - [ ] Technical review - [ ] Editorial review - [ ] Product review
1 parent 314f4d7 commit 4cc42b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/reference/compose-file/services.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1817,7 +1817,7 @@ events.
18171817
If there is no cached image, a failure is reported.
18181818
- `missing`: Compose pulls the image only if it's not available in the platform cache.
18191819
This is the default option if you are not also using the [Compose Build Specification](build.md).
1820-
`if_not_present` is considered an alias for this value for backward compatibility.
1820+
`if_not_present` is considered an alias for this value for backward compatibility. The `latest` tag is always pulled even when the `missing` pull policy is used.
18211821
- `build`: Compose builds the image. Compose rebuilds the image if it's already present.
18221822
- `daily`: Compose checks the registry for image updates if the last pull took place more than 24 hours ago.
18231823
- `weekly`: Compose checks the registry for image updates if the last pull took place more than 7 days ago.

0 commit comments

Comments
 (0)