This project is to study the use of Dev Containers in Visual Studio Code/Codium.
- Install Docker or Podman
- In extensions search ms-vscode-remote.remote-containers and install the extension
- Search for
Dev › Containers: Docker Path
in settings - Modify the value with
docker
orpodman
depending upon the local installation - If interested, open file
.devcontainer/devcontainer.json
and study the contents Suggestion: DO NOT uncomment the mounts section - Open this workspace in a python:slim container
- Open Command Palette ress Ctrl+Shift+P (Windows) or Command+Shift+P (MacOS)
- Type: "Dev Containers: Rebuild and Reopen in Container" (Ensure docker/podman is already running in background)
You are ready to setup your environment in the launched python:slim container.