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

fix: respect DOCKER_HOST env var for better container runtime Support #165

Merged
merged 1 commit into from
Jul 11, 2024

Conversation

rgolangh
Copy link
Contributor

@rgolangh rgolangh commented Jul 4, 2024

DOCKER_HOST is now respected so the binary could be run again other
runtimes like podman, that exposes a compatible socket based api.
To use it export DOCKER_HOST=unix:///run/user/1000/podman/podman.sock
for running with a non root user.

If DOCKER_HOST is not exported then the default path
/var/run/docker.socket

Signed-off-by: Roy Golan rgolan@redhat.com

Copy link

github-actions bot commented Jul 4, 2024

Thanks for making a pull request! 😃
One of the maintainers will review and advise on the next steps.

@kmehant kmehant changed the title Respect DOCKER_HOST env var for better container runtime Support fix: respect DOCKER_HOST env var for better container runtime Support Jul 4, 2024
@github-actions github-actions bot added the fix label Jul 4, 2024
Copy link
Contributor

@HarikrishnanBalagopal HarikrishnanBalagopal left a comment

Choose a reason for hiding this comment

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

LGTM

DOCKER_HOST is now respected so the binary could be run again other
runtimes like podman, that exposes a compatible socket based api.
To use it export DOCKER_HOST=unix:///run/user/1000/podman/podman.sock
for running with a non root user.

If DOCKER_HOST is not exported then the default path
/var/run/docker.socket

Signed-off-by: Roy Golan <rgolan@redhat.com>
@HarikrishnanBalagopal HarikrishnanBalagopal merged commit a96f93f into konveyor:main Jul 11, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants