devcontainers / templates

Repository for Dev Container Templates that are managed by Dev Container spec maintainers. See https://github.com/devcontainers/template-starter to create your own!
https://containers.dev/templates
MIT License
1.03k stars 263 forks source link

/workspace/{project_dir_name} shows docker image ID #301

Open opmtk opened 2 weeks ago

opmtk commented 2 weeks ago

I'm using the cpp template for devcontainer in VSCode win Win10 and Docker-Desktop/WSL (Docker Desktop 4.35.1). All builds and starts fine, but I have a mount bind to my project folder of /workspaces/61983f524eebc68bc72067df821eb9a29c8787120e77c389ae2532fe9279dc88

grafik

which is the ID of Docker(Deskop) Image.

grafik

This is not handy for error messages from the compiler, not even in the console/terminal. The result is the same or reproducible, when I create it by using the 'DevContainer' task in VS Code, so I rule out problems with my settings for now.

The problem is very stressful, because every time the paths in the build directory of CMake change! The behavior doesn't change if I remove all images, volumes and build caches.

Will it be fixed and what is the temporary solution for this?