{ "name": "dockerlog", // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile "workspaceFolder": "/workspaces", "service": "dev", "dockerComposeFile": ["compose.yml"], // Features to add to the dev container. More info: https://containers.dev/features. // Use 'mounts' to make the cargo cache persistent in a Docker Volume. "mounts": [ { "source": "devcontainer-cargo-cache-${devcontainerId}", "target": "/usr/local/cargo", "type": "volume" } ], // Use 'forwardPorts' to make a list of ports inside the container available locally. "forwardPorts": [ 2375 ], "customizations": { "vscode": { "extensions": [ "vadimcn.vscode-lldb", "rust-lang.rust-analyzer" ] } } // Use 'postCreateCommand' to run commands after the container is created. // Configure tool-specific properties. // "customizations": {}, // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. // "remoteUser": "root" }