Skip to content

Bind mounts not working on some setups with podman #76

@tjololo

Description

@tjololo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions