-
Notifications
You must be signed in to change notification settings - Fork 4
Docker Setup
1 - Download VS Code https://code.visualstudio.com/
2 - Git Clone the Repository
3 - Open VS Code
4 - Add 2 extensions to Docker by navigating to View->Extensions. Find and install the following
-
A - Docker
-
B - Remote-Container
5 - Click File->Open Folder, Navigate to the folder of the repository (Can also open the Git repository directly in VS Code)
6 - In VS Code navigate to and open the Docker File by selecting HERMES_INSTRUMENT -> .devcontainer -> Dockerfile
7 - Once in the Dockerfile, open the VS Code Command Palette by View->Command Palette (or Ctrl+Shift+P) and select: "Remote-Containers:Rebuild and Reopen in Container"
8 - VS Code should build and open the container (takes as much as 10-20 minutes the first time). You will see “Starting Dev Container (show log): Building image” in the bottom right corner. Click on “show log” to see details of the build.
9 - Once the build has finished you will see information about the Dev Container in the bottom left.
10 - Exiting VS Code will close the docker container, but the next time VS Code is opened it will automatically build the container again. To close the container, click on the bottom left “Dev Container” green button. Then at the top you can select “Close Remote Connection