Change default source code directory in Visual Studio Code Remote Containers

975 Views Asked by At

My project is located in /home/user1/Development/c_project. When I configure the project to use Containers, it wants to put this project in the same location on the Docker container.

What exactly do I need to change (in devcontainer.json) to have the project be put in /tmp/c_project and not /home/user1/Development/c_project?

0

There are 0 best solutions below