It seems the file changes watching is broken in VirtioFS. If I start the wildfly application server with some app from bind mount, the wildfly keeps redeploying it due to "some change".
I can not use newer version of Docker for Desktop on this Intel macbook because of the known network issues in newest releases. However this problem occures also on M1 macbook with Docker for Desktop version 4.24.2 (but you can not use my reproducer as it uses amd64-only official image).
Reproduce
See the reproduced repo.
Enable VirtioFS in Docker for Desktop
Start the app using start.sh
Observe console logs
The war deploys, undeploys and deploys again every 5 seconds.
Description
It seems the file changes watching is broken in
VirtioFS
. If I start thewildfly
application server with some app from bind mount, thewildfly
keeps redeploying it due to "some change".This does not happen under
gRPC FUSE
settings.I have created simple reproducing repo https://github.com/petr-ujezdsky/wildfly-virtiofs-reload
I can not use newer version of Docker for Desktop on this Intel macbook because of the known network issues in newest releases. However this problem occures also on M1 macbook with Docker for Desktop version 4.24.2 (but you can not use my reproducer as it uses amd64-only official image).
Reproduce
See the reproduced repo.
start.sh
The war deploys, undeploys and deploys again every 5 seconds.
Expected behavior
See the reproduced repo.
The war deploys once and stays deployed.
docker version
docker info
Diagnostics ID
6FB77661-8FDA-427A-926F-CF4FC04C2C6A/20231016110046
Additional Info
No response