Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker log tail: Re-order args to also support podman aliased as docker #457

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

lfittl
Copy link
Member

@lfittl lfittl commented Oct 3, 2023

Whilst we currently explicitly call out to "docker" for this experimental way of reading local logs during development, we technically also support podman when its available with the "docker" alias. However, podman requires arguments to be set before the container name. Fix support for this type of setup. This keeps compatibility with docker, which accepts arguments in either order.

Whilst we currently explicitly call out to "docker" for this experimental
way of reading local logs during development, we technically also support
podman when its available with the "docker" alias. However, podman
requires arguments to be set before the container name. Fix support for
this type of setup. This keeps compatibility with docker, which accepts
arguments in either order.
@lfittl lfittl requested a review from a team October 3, 2023 08:13
@lfittl lfittl merged commit 39ef193 into main Oct 3, 2023
6 checks passed
@lfittl lfittl deleted the docker-log-tail-podman-support branch October 3, 2023 22:19
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