ITADN
mappu/miqt/Issues

Ability to customise Docker/Podman volume flags

#316Opendjmattyg007 创建于 2026-02-20
enhancement
D
djmattyg007commented
On Bazzite (and probably other Fedora Silverblue distributions) with Podman, simply mounting a volume isn't enough - it needs the `Z` flag due to some SELinux nonsense. In other words, instead of this: ``` -v "/hostpath:/containerpath" ``` It needs to be this: ``` -v "/hostpath:/containerpath:Z" ``` Without this flag, I'm getting an error message saying there's no `go.mod` file, even though there very much is a `go.mod` file. It's because the process running inside the container simply doesn't have permission to read the file.
2 条评论