-
Notifications
You must be signed in to change notification settings - Fork 122
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
Volume get detached after error with osxfs notifications #2777
Comments
#2019 may be linked to this one ? |
Volumes that suddenly dismount or stop updating correctly is a common problem for me and my coworkers. No idea how to fix this for now. docker-sync is nice but has its own stability issues |
By the way. Why mount shows
Why max_read=1048576? Isn't it a problem? max_read=N WHY |
I can confirm this is still happening with Docker for Mac Version 18.03.1-ce-mac64 (24245) |
I can confirm this happens on |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
The problem persists. /remove-lifecycle stale |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
/remove-lifecycle stale |
I just tested this on Docker for Mac Version 2.0.0.2 (30215), and still happening. This is really annoying. Is there any way I can contribute to fix this issue? I'm pretty sure it's something related with osxfs and the forwarding of inotify events. Is that code open source? |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
/remove-lifecycle stale |
1 similar comment
/remove-lifecycle stale |
Just upgraded to Docker Desktop 2.1.0.1 (37199) and still the same problem. |
I think I may be having the same problem.
I can reliably make the node_modules volume get unmounted simply by running touch node_modules on the host. This seems wrong! |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
/remove-lifecycle stale |
Still happening with Docker for Mac 2.2.0.5 |
2.3.0.3 as well. |
Issues go stale after 90 days of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
/remove-lifecycle stale At least this issue is stable in this endless cycle of being marked as stale shortly after somebody tells that it still exists. |
I just tried this with 2.3.6.1 and could not reproduce the issue so I believe that the issues with event notifications have been fixed in the edge build |
I was having an issue with an Elixir/Phoenix project and after some time debugging and reducing the problem I finally got something minimal that can be easily reproduced.
This started to happen after I upgraded to Docker for Mac Version 18.03.0-ce-mac60 (23751).
Diagnostics ID: CF39864B-6DD4-477F-99A6-6455DC6EC617
The problem is that sometimes a Docker volume gets detached. Here's an example to reproduce the issue:
docker-compose.yml:
Dockerfile:
First, I start the container and confirm that the volume is mounted:
Now I start
inotifywait
to listen to some events on the/app
directory (mounted from host)On another terminal, in the host I run this command to rapidly create and delete files:
In the container I can see the notifications flooding the screen:
However at the same time, I can see in the Console.app logs coming from the
com.docker.osxfs
process complaining about missed files:Once that happen (very quickly indeed), in the container I cancel the
inotifywait
session and verify that the volume is not mounted anymore:root@d1bad28a1d5a:/app# mount | grep vol root@d1bad28a1d5a:/app#
The text was updated successfully, but these errors were encountered: