I’ve been running a development environment in an Ubuntu 18.04 container, sharing a directory on my host with it. I have noticed that edits on either side aren’t always kept in sync (even for prolonged durations), which of course can create chaotic scenarios. Leaving and restarting the container causes the sync to happen from the looks of it.
My container config is:
shared-dir: path: /srv/web/my-project shift: "true" source: /home/adrian/code/my-project type: disk
Alas, I need write capability on both sides so a read-only mount is not an option. Has anyone observed similar issues?