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

Bind mounts not working on some setups with podman #76

Open
tjololo opened this issue Jan 26, 2024 · 0 comments
Open

Bind mounts not working on some setups with podman #76

tjololo opened this issue Jan 26, 2024 · 0 comments
Labels
kind/bug Something isn't working

Comments

@tjololo
Copy link
Member

tjololo commented Jan 26, 2024

Description of the bug

In some setup with podman the folders mounted as bind-mounts from the host gives Permission denied on all files and folders.
A hacky fix is just running some containers with podman run with the volumes mounted with the flag z.
Not sure if this is a problem related to selinux or not, but might be something we need to report back to podman

Steps To Reproduce

Experienced in Apple M3 and Fedora with selinx (not tested fedora without selinux)

  1. Start localtest on Apple M3 or Fedora with a fresh install of podman
  2. See that nginx returns the defualt nginx page
  3. run the hack function in Makefile
  4. restart nginx container, should now serve the localtest page

Additional Information

No response

@tjololo tjololo added the kind/bug Something isn't working label Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant