-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
lsetxattr: permission denied with podman #1385
Comments
I receive the same error with trivyfs-docker using podman and so I do not believe this is gitleaks-specific. Steps to reproduce: $ brew install podman podman-desktop
$ sudo ln -s /opt/homebrew/bin/podman /usr/local/bin/docker
$ pre-commit run -a Output:
Worth noting this is on macOS 14.4.1, which may or may not support |
It seems macOS has issues setting selinux labels with lxsetattr, which requires extended attributes. Try to set volumes without |
@rjeffman I found similar suggestion. But how to do that for the pre-commit hook container? |
@TribuneX sorry, but I have no clue on how to fix that. And I just found out today that, under Linux, you may need to have In my case I'm trapped between using |
Any update here regarding this issue? Any chance this can be fixed within |
Describe the bug
I try to use
gitleaks-docker
together with podman instead of docker.To Reproduce
Steps to reproduce the behavior:
Use podman with a docker alias:
run pre-commit hook:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Basic Info (please complete the following information):
Additional context
Add any other context about the problem here.
cc @zricethezav
The text was updated successfully, but these errors were encountered: