Coder.comC
Coder.com2w ago
5 replies
Aericio

Docker-in-Docker devcontainers issue with VSCode

I noticed that environment variables and the coder binary aren't being passed into Dev Containers when opened via VS Code, even though they work fine when connecting via the web terminal. So when I'm trying to push to Git via SSH, it's not working b/c the coder ssh env isn't showing up. The parent container is fine (when connected via either vscode or terminal).

I'm using the example DinD template and tested on main coder/coder repo. Is this supposed to be intentional?

First 2 images are from web terminal, last image is from vscode desktop
image.png
image.png
image.png
Was this page helpful?