Nice article; thanks. I didn't know docker-sync but, as far I understand, this is only required for Mac users (OSX). Can you confirm ? I'm working under Windows / WSL2 and I don't have any sync issues. In my case, I suppose, docker-sync will not improve things; correct ?
I'm aware OSX and Windows had performance issues with docker in the past and docker sync was developed in order to help remove some of those issues for OSX & Windows users.
Some of those earlier performance issues have been improved over the years as docker has improved, and as for me, I'm developing on OSX but until recently I didn't have a big enough issue with performance to require me to do anything.
If the responses you are getting from your docker project are already fairly speedy then you might not get a massive improvement by enabling docker-sync, but this might change depending on what type of project you are working on i.e. a single, self-contained application or having multiple applications running if you are developing and integration micro-services.
I'm running a PHP codebase (big one) and a web server, redis cache, pgadmin interface and some others in my docker-compose.yml file. I've four applications like that (PHP and Apache for the others). This is a very big application splitted into smaller blocks.
As far I can see, there is no sync issues at all using Docker and Windows/WSL.
I've started to read documentations about docker-sync yesterday, I think I didn't need that one, I think like you said, Docker has made a lot of improvements for this.
Have a nice day.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Nice article; thanks. I didn't know docker-sync but, as far I understand, this is only required for Mac users (OSX). Can you confirm ? I'm working under Windows / WSL2 and I don't have any sync issues. In my case, I suppose, docker-sync will not improve things; correct ?
I'm aware OSX and Windows had performance issues with docker in the past and docker sync was developed in order to help remove some of those issues for OSX & Windows users.
Some of those earlier performance issues have been improved over the years as docker has improved, and as for me, I'm developing on OSX but until recently I didn't have a big enough issue with performance to require me to do anything.
If the responses you are getting from your docker project are already fairly speedy then you might not get a massive improvement by enabling docker-sync, but this might change depending on what type of project you are working on i.e. a single, self-contained application or having multiple applications running if you are developing and integration micro-services.
Hello
I'm running a PHP codebase (big one) and a web server, redis cache, pgadmin interface and some others in my docker-compose.yml file. I've four applications like that (PHP and Apache for the others). This is a very big application splitted into smaller blocks.
As far I can see, there is no sync issues at all using Docker and Windows/WSL.
I've started to read documentations about docker-sync yesterday, I think I didn't need that one, I think like you said, Docker has made a lot of improvements for this.
Have a nice day.