... | ... | @@ -7,7 +7,8 @@ |
|
|
* CPP or Python (use Ctrl+X Ctrl+F)
|
|
|
* Take a look and edit ``.devcontainer/Dockerfile``
|
|
|
* Change **USER_UID** and **USER_GID** values in ``Dockerfile`` if not set to *1000*. Use `id -u` and `id -g` to get your current ones.
|
|
|
* Take a look and edit ``.devcontainer/devcontainer.json``
|
|
|
* Take a look at ``.devcontainer/devcontainer.json`` and edit if necessary.
|
|
|
* On MacOS, you should replace ``DISPLAY=${env:DISPLAY}`` with ``DISPLAY=host.docker.internal:0``.
|
|
|
* Click on the cogwheel icon in the bottom-left corner and select "Command Palette..." (or menu "View->Command Palette..."), then type "remote-container reopen in container"
|
|
|
* This will reload the VS Code window and wait for the container to come up
|
|
|
* This operation takes some time: an image will be built by VS Code according to ``.devcontainer/Dockerfile``, then a VS Code server will be installed automatically in the container instance
|
... | ... | |