{ "name": "ROS 2 Development Container", "privileged": true, "remoteUser": "matt", "build": { "dockerfile": "Dockerfile", "args": { "USERNAME": "matt" } }, "workspaceFolder": "/home/ws", "workspaceMount": "source=${localWorkspaceFolder},target=/home/ws,type=bind", "customizations": { "vscode": { "extensions":[ "ms-vscode.cpptools", "ms-vscode.cpptools-themes", "twxs.cmake", "donjayamanne.python-extension-pack", "eamodio.gitlens", "ms-iot.vscode-ros", "anthropic.claude-code", "Ranch-Hand-Robotics.urdf-editor" ] } }, "containerEnv": { "DISPLAY": "unix:0", "ROS_AUTOMATIC_DISCOVERY_RANGE": "LOCALHOST", "ROS_DOMAIN_ID": "42" }, "runArgs": [ "--net=host", "--pid=host", "--ipc=host", "-e", "DISPLAY=${env:DISPLAY}" ], "mounts": [ "source=/tmp/.X11-unix,target=/tmp/.X11-unix,type=bind,consistency=cached", "source=/dev/dri,target=/dev/dri,type=bind,consistency=cached" ], "postCreateCommand": "sudo rosdep update && sudo rosdep install --from-paths src --ignore-src -y && sudo chown -R $(whoami) /home/ws/" }