Replies: 10 comments 1 reply
-
Thanks for reaching out, @fracado! @giuseppe, any idea what could cause that? |
Beta Was this translation helpful? Give feedback.
-
I don't think ionotify is currently supported with 9p or virtiofs. |
Beta Was this translation helpful? Give feedback.
-
that is a limitation in FUSE/virtiofs that doesn't support inotify. I know @rhvgoyal was looking at it in the past, but I don't know what the current status is. |
Beta Was this translation helpful? Give feedback.
-
Is there a way to start the VM in a different way, to use another file system with inotify support? |
Beta Was this translation helpful? Give feedback.
-
A friendly reminder that this issue had no activity for 30 days. |
Beta Was this translation helpful? Give feedback.
-
There is no remote file system support for Inotify. I guess you could share a block device from the host into the VM. Moving to a discussion. |
Beta Was this translation helpful? Give feedback.
-
Any solution to this? i.e having support for watchfiles behavior in various python apps work inside a podman container in Mac? |
Beta Was this translation helpful? Give feedback.
-
No attention, no solution? Seems like kind of a big deal? |
Beta Was this translation helpful? Give feedback.
-
No idea if this fixes the problem or not, but podman 5.0 supports appleHV and virtiofsd, with podman 4.* you can change to applehv inside of the containers.conf and try it out. |
Beta Was this translation helpful? Give feedback.
-
For reference, colima/lima seems to support it like this: lima-vm/lima#1913 |
Beta Was this translation helpful? Give feedback.
-
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
inotifywait executed inside podman container does not register changes in watched files coming from host (Mac).
Steps to reproduce the issue:
podman run -it -v /Users:/Users alpine
and then inside:
Describe the results you received:
The changes are not registered by inotifywait in podman
Describe the results you expected:
File changes should be registered by inotifywait in podman
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md)
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
Macbook Pro 2022 M2
Beta Was this translation helpful? Give feedback.
All reactions