I totally agree with you. One big advantage I can see with VSCode is how it handles projects with lots of files.
You probably know that Docker for Mac or Windows have huge issues with shared volumes performance and it's always been a massive problem when you work with large repos. It seems dev containers use rsync without mounting the host directory into the container.
I think it's interesting that you can also use any Dockerfile you already have in your project, and use the devcontainer.json to customize the dev container build with:
additional build args
post-start and post-attach commands
If you then use a docker-compose file, you don't need to change it but use an extension file like described here.
Docker for Mac or Windows indeed have speed issues with file sharing. But, since the last Windows update and the integration on Docker in WSL2, thoses issues are gone. Stays the problem for Mac, but if I remember correctly, volume sharing on Mac was not as bad as Windows used to be, was it?
I guarantee it is still pretty bad.. the write performance is still 60 times slower than your normal hard drive 😭 that makes it impossible to run an Ant build where every single Java file is touched
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.
I totally agree with you. One big advantage I can see with VSCode is how it handles projects with lots of files.
You probably know that Docker for Mac or Windows have huge issues with shared volumes performance and it's always been a massive problem when you work with large repos. It seems dev containers use rsync without mounting the host directory into the container.
I think it's interesting that you can also use any Dockerfile you already have in your project, and use the
devcontainer.json
to customize the dev container build with:If you then use a docker-compose file, you don't need to change it but use an extension file like described here.
But yes, otherwise, for a POC or personnal project, I most definitely can imagine myself using it
Docker for Mac or Windows indeed have speed issues with file sharing. But, since the last Windows update and the integration on Docker in WSL2, thoses issues are gone. Stays the problem for Mac, but if I remember correctly, volume sharing on Mac was not as bad as Windows used to be, was it?
I guarantee it is still pretty bad.. the write performance is still 60 times slower than your normal hard drive 😭 that makes it impossible to run an Ant build where every single Java file is touched