443 questions
Tooling
0
votes
2
replies
65
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
33
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
45
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 ...
0
votes
1
answer
34
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
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, ...
-2
votes
0
answers
71
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
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",
...
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 ...
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
77
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 ...
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 ...
0
votes
1
answer
173
views
Launch.json set up for VSCode debugging on qemu within docker container
New to docker/qemu/gdb.
I am able to "make debug" and "make gdb" and debug from CLI. However, I got an error (no executable specified) when I try to use VSCode debugger to attach ...
2
votes
1
answer
638
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 ...
0
votes
0
answers
10
views
Customize VSC remote docker attach command not working
Use case
(Windows VSC) --ssh--> (Linux Host) --VSC attach by docker exec... -> (Container)
I can run this case well, but I want to customize the docker command, and tried set both of VSC local ...