skip to Main Content

VS Code fails to run a container through Dev Containers – Docker

I had setup a .devcontainer.json file to develop inside containers following this guide https://code.visualstudio.com/docs/devcontainers/containers#_create-a-devcontainerjson-file. Here is the json file: { "name": "myname Dev Container", "image": "myname/detectron2-pytorch:1.13.1-cuda11.6.2-cudnn8-devel", "runArgs": ["--gpus 0", "--cpuset-cpus 0-7", "--group-add phd", "--runtime=nvidia", "--shm-size=8G"], "workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind,consistency=cached", "workspaceFolder": "/workspace" }…

VIEW QUESTION
Back To Top
Search