Motivation
As of now, we are using five docker containers (MySQL, PHP, static...) managed by docker-compose. We do only need to access one of them. We now have a local copy of all data inside and sync it from Windows to the container, but that is very slow, VSCode on Windows sometimes randomly locks files causing git rebase origin/master
to end in very unpleasant ways.
Desired behaviour
Use VSCode Remote Development extension to:
- Edit files inside the container without any mirrored files on Windows
- Run git commands (checkout, rebase, merge...)
- Run build commands (make, ng, npm)
- Still keep Windows as for many developers it is the prefered platform.
Question
Is it possible to develop inside a docker container using VSCode?
I have tried to follow the official guide, but they do seem to require us to have mirrored files. We do also use WSL.