Got it working

This commit is contained in:
tkreindler 2025-10-25 23:18:24 +00:00
parent f31faa5dfe
commit 6a3fdf1422

View File

@ -4,14 +4,16 @@
"name": "Ubuntu",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/base:noble",
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
"ghcr.io/devcontainers/features/nvidia-cuda:2": {},
"ghcr.io/devcontainers/features/python:1": {}
}
// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
"features": {
"ghcr.io/devcontainers/features/nvidia-cuda:2": {},
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {},
"ghcr.io/devcontainers/features/python:1"
},
// Needed for cuda in the container
"runArgs": ["--gpus=all"]
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],