How to run the project in a devcontainer Open the folder in VSCode. Open the folder as a remote container. Press f5 on the main.cpp file.