-
Notifications
You must be signed in to change notification settings - Fork 287
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 sync at random times #5569
Comments
Any suggestion and workaround is appreciated! |
Confirmed as 2.2.0.0 grpc-fuse issue, on cifs we didn't encounter such issues. For that reason, we are reverting to previous version, until the problem is resolved. |
Sounds like a dupe of #5530. |
Most probably is, just there is no information there for these random syncs. |
We have just released 2.2.0.3, which fixes this issue, so closing this ticket. In case any Edge users are watching this ticket, it will be on the Edge channel tomorrow too. |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
So as mentioned, mounted volume (windows directory) under docker, have random syncs, for example let's say I have text "kitten" inside
index.html
. Docker will run properly, and if i executedocker exec -it webserver cat /var/www/html/index.html
, I will get "kitten", printed out. However, IF I editindex.html
FROM the host, and replace let's saykitten
withkitty
, and right after I runcat
on docker exec, I will getkitten
most of the time, which means that mounted volume didn't sync with a host. After, 10 seconds, 30, one time even 30 minutes,kitten
will turn intokitty
and container will sync with a host.Initial configuration
docker-compose
with mounted Windows directory as volume.kitten
Expected behavior
Running
cat /var/www/html/index.html
before editing index.html file should printkitten
Running
cat /var/www/html/index.html
should IMMEDIATELY after editing index.html content intokitty
print out the same content that exists on host.Actual behavior
cat /var/www/html/index.html
after random amount of time matches content on host (turnskitten
intokitty
)Information
Because of simplification of the issue, I used index.html as a single file in this example. directory contains thousands of files (like any web project running around us).
Mounted volume indeed has really random syncs, sometimes it's 10 seconds, sometimes it's 30 minutes.
Succeeded to reproduce on 3 same laptops, using same timezones, and same hardware, however I was unable to reproduce same issue on different laptop in different timezone.
Docker images report UTC+0 as default timezone, while host uses US ET time. (If that matters)
Steps to reproduce the behavior
Did not succeed to reproduce in different environment.
The text was updated successfully, but these errors were encountered: