This repo houses a bunch of examples for using VS Code Remote Containers.
The project structure is purposefully kept flat and simple with minimal inheritance so that anyone can start from a bare container and build up.
-
Install Docker and add the host user to the docker group (usually requires a restart).
-
Install
nvidia-container-runtime
to access your nvidia graphics card. If it's not already listed in apt-get then use the official install instructions. -
Install VSCode.
-
Install the Remote-Containers extension in VS Code.
-
Open the desired folder in VS Code and build and run the remote container with
F1
->Remote-Containers: Rebuild and Reopen in Container
.