443 questions
Tooling
0
votes
2
replies
69
views
Cache Go dependencies in dev container
I'm trying to build a pre-built dev container (see here). Among others, the app has some Go dependencies specified in go.mod (link to file):
module github.com/jovandeginste/workout-tracker/v2
go 1.24....
Tooling
0
votes
0
replies
35
views
Reuse "node_modules" from pre-built dev container
I'm trying to build a pre-built dev container (see here).
Among others, the app uses some Node.js packages. To speed up the dev container performance, I'd like to cache them. For this, I'm running npm ...
0
votes
1
answer
35
views
VS Code Devcontainer modify line endings from LF to CRLF
I have a C++ Project (incl. some platform specific scripts) which I develop in VS Code.
The project contains a devcontainer for Linux which works well under Linux.
Development for Windows (without ...
0
votes
1
answer
46
views
VSCode DevContainer in linux doesn't recognize Docker, or the packages installed during build
I have a devcontainer set up as a work environment on Debian 13. Until recently, it was working perfectly fine, but recently I started getting error messages like this:
Once I was already inside the ...
-2
votes
0
answers
73
views
Deno development vscode workspace auto suggest import with package absolute path
I have workspace setup on deno. I have the following workspace
{
"workspace": [
"./repo-1",
"./repo-2",
"./repo-3",
"./repo-4",
...
0
votes
0
answers
63
views
How to view the Docker log in GitHub Codespaces?
I cannot find a way to view the Docker log output for a Devcontainer that is launched in GitHub Codespaces.
I found the Terminal, but that is a terminal inside the container.
I found the DebugConsole, ...
0
votes
0
answers
77
views
Next.js with VS Code dev container
I would like to use VS Code dev container for developing Next.js application.
Therefore I do these steps in VS Code:
New Dev Container,
After creating container I move out .devcontainer and .github ...
1
vote
0
answers
35
views
How to open shell script in a GitHub Codespaces devcontainer within the VS Code shell?
The following file is within .devcontainer/devcontainer.json:
// See https://containers.dev/implementors/json_reference/ for configuration reference
{
"name": "my-devcontainer",
...
2
votes
1
answer
643
views
VSCode devcontainer and UV [closed]
I'm developing using VSCode's devcontainer, and I used pip with a requirements.txt file for a few years with no problems. Works like charm.
I'd like to upgrade to using uv, but I'm encountering a ...
1
vote
1
answer
108
views
Pylance in devcontainer is loading forever
I am trying to set up a devcontainer on my desktop, but functions like autocomplete or go to function don't work. When I hover variable or function it shows never-ending load information Loading ...
0
votes
1
answer
86
views
Is it possible to have lock files (or similar) for VS Code extensions?
I am distributing internal use devcontainers, and wish to pre-test that the combination of extensions and features is working.
For features the devcontainer CLI can create a devcontainer-lock.json ...
1
vote
1
answer
236
views
Why does Git in a Dev Container show old files as modified (even with no changes)?
I'm having a weird issue with Git inside a VS Code Dev Container: when I open a project folder, Git shows a bunch of already committed files as "modified" (even though I didn’t change ...
1
vote
0
answers
42
views
How to apply a configuration after using "Attach to running container"
"Dev Containers: Open Attached Container Configuration File" command will open a local file in /home/<user>/.config/Code/User/globalStorage/ms-vscode-remote.remote-containers/...
1
vote
0
answers
78
views
Conditional sidecars in devcontainer?
I configured a devcontainer using a docker-compose.yaml. The „sidecars“ are a database and a Keycloak instance. It works well.
The Keycloak is only needed in some scenarios, so I’m looking for a way ...
1
vote
1
answer
320
views
VSCode dev containers error with docker version
I've never been able to run the Dev Container extension due to this error:
Here are the logs:
[2025-06-22T22:32:48.629Z] Initializing configuration support...
[2025-06-22T22:32:48.630Z] Internal ...