Skip to content

Conversation

doc-sheet
Copy link

Currently podman compose logs cnt1 cnt2 cnt3 as well as podman logs fails with "no such container" if any container is missing.

Tests will be later.

for target in targets:
podman_args.append(target)
await compose.podman.run([], "logs", podman_args)
await compose.podman.run([], "logs", [*podman_args, target])
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This won't work with -f, will it? I think better idea would be to check what containers exist and only pass existing ones to podman.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, I forgot about -f

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.

2 participants