-
Notifications
You must be signed in to change notification settings - Fork 424
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
Error when using podman with hadolint image #691
Comments
This may help: containers/podman#3323 |
This does not work on my Docker hosts either, meaning if I run your thing in Docker, it does not return anything, too, same as podman. I believe what you might have meant to do with the command is to pass it just the Dockerfile instead of whole For the record, the above works with both |
Hi @tschm I also use Podman. The following script #!/bin/bash
dockerfile="$1"
shift
podman run --rm -i docker.io/hadolint/hadolint hadolint "$@" - < "$dockerfile" This script
I sometimes upgrade my local image
I think this a good way to securely rum Hadolint with upgrade ease. Moreover, this script works fine with the current version of the extension vscode-hadolint Note: I also use vscodium.com + open-vsx.org |
Hi @lorenzo Would you mind if the README explains how to use Hadolint with Podman? Thank you for maintaining Hadolint. 😄 |
Your contribution will be very welcomed @0uep :) |
Expected behavior
Actual behavior
Hadolint hangs as the image doesn't seem to return anything when used with podman
Steps to reproduce the behavior
Use any Dockerfile and
podman run --rm -i docker.io/hadolint/hadolint:2.6.0-debian < .
The text was updated successfully, but these errors were encountered: