Skip to content

Include pre-start hook images in pull and config#13925

Open
cyphercodes wants to merge 1 commit into
docker:mainfrom
cyphercodes:13924-pre-start-hook-images
Open

Include pre-start hook images in pull and config#13925
cyphercodes wants to merge 1 commit into
docker:mainfrom
cyphercodes:13924-pre-start-hook-images

Conversation

@cyphercodes

Copy link
Copy Markdown

What I did

  • Include distinct pre_start lifecycle hook images in docker compose config --images.
  • Include pre_start hook images in docker compose pull and in the image pull path used by up/create.
  • Added unit coverage for config image collection, pull option policy propagation, and hook image pull behavior.

Related issue

Fixes #13924

Tests

  • go test -count=1 ./pkg/api ./cmd/compose ./pkg/compose
  • go run ./cmd -f /tmp/compose-hook-config-smoke.yaml config --images

(not mandatory) A picture of a cute animal, if possible in relation to what you did

Not included.

Signed-off-by: cyphercodes <cyphercodes@users.noreply.github.com>
@cyphercodes cyphercodes requested review from a team as code owners July 8, 2026 15:39
@cyphercodes cyphercodes requested review from glours and ndeloof July 8, 2026 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Docker compose up/pull does not pull images referenced in pre_start lifecycle hooks

1 participant