-
Notifications
You must be signed in to change notification settings - Fork 4
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
Podman compatibility #24
base: master
Are you sure you want to change the base?
Conversation
Use `docker version` instead of `docker` when checking if Docker is installed. When `docker` is used as an alias for `podman`, the original script fails, because `podman` without any subcommand exits with code `125`.
👍 |
Should we use environment variable instead of |
In my opinion, being able to set the docker command name via an env variable would be a nice-to-have, but not strictly necessary. I believe most users who adopt podman as a drop-in replacement for docker create an alias or symlink, so that scripts using |
The usage of alias is a good practice in the beginning of the adoption journey but we know the reality. The following claim |
This is very close to the fix I made to lighstep developer satellite script on my local machine 👍 IMO this would be useful to merge |
👍 |
Just curios... Is this repository actively maintained by lightstep |
Use
docker version
instead ofdocker
when checking if Docker is installed. Whendocker
is used as an alias forpodman
, the original script fails, becausepodman
without any subcommand exits with code125
.Many companies are moving towards
podman
as a drop-in replacement fordocker
for local development, because of licensing issues with Docker Desktop.