Docker on mac stills seems like kind of a so-so op...
# docker
a
Docker on mac stills seems like kind of a so-so operation, sometimes files don't sync and I lose hours to debugging issues with little to no feedback from the docker setup. Am I the only one experiencing this... ? I heard a few people mentioned adding the delegated flag at some point: https://stackoverflow.com/questions/43844639/how-do-i-add-cached-or-delegated-into-a-docker-compose-yml-volumes-list
s
As I see only Mac and Windows users have file sync issues. I use Linux and don't have any problems. I also use Mac but there I'm still using Vagrant devvm, it's slower (composer dump -o resolves this issue partially), but much more stable. As a recommendation for docker users on Mac: if you are going to do some operation with big amount of files (git checkout branch, transfer:generate, prope:install, ...) STOP docker/sdk, do the file operations then START docker/sdk. With small number of changed files Mutagen works stable.
s
Also having the mac-docker-sync problems now and then, but mostly its working. I sometimes open a tail on the
.docker-sync/daemon.log
to see if its working. 😄 Some colleagues started using the mutagen setup and seem to have less problems since then. Be sure to install the lastest mutagen beta when trying this.
🙏 1
🪵 1
m
On Mac better switch to mutagen. It works fast and without issue..
h
@astonishing-lamp-41374 You should monitor mutagen status somewhere in separate terminal to be sure everything is synced. After checkout or big file operations it can take a while. Just run
docker/sdk sync logs
and it will show the current status for you to be aware
a
Yeh, been doing that (logging). the problems don't really surface only on sync but also on build, I've found a few checkboxes that seem to help a lot, namespaces def helps a bunch (that should be in the docs somewhere) And occasionally I just need to hard reset