Visual Studio Code Remote Development: Open any folder in WSL, in a Docker container, or on a remote machine using SSH and take advantage of VS Code's full feature set.
I'm using VSCode to attach to several remote containers which are created using Docker Compose. These containers appear to have unique names that show up under "Attributes > Name" in the Remote Explorer details section.
However, when I attach to these containers, the VSCode window title and the green "Remote" button/menu in the bottom left only show the container's Image which is mostly useless, especially for distinguishing between multiple windows.
docker ps shows the two containers' names listed, why can't VSCode get them too?
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
c041e00538c9 gitlab.[...]/core/depot-stage/combined "sleep infinity" 7 hours ago Up 36 minutes 0.0.0.0:32768->8080/tcp firmwolverine_stage_1
253b8fcd063e gitlab.[...]/core/depot-stage/combined "sleep infinity" 3 weeks ago Up 36 minutes 0.0.0.0:32769->8080/tcp depotviolet_stage_1
I'm using VSCode to attach to several remote containers which are created using Docker Compose. These containers appear to have unique names that show up under "Attributes > Name" in the Remote Explorer details section.
However, when I attach to these containers, the VSCode window title and the green "Remote" button/menu in the bottom left only show the container's Image which is mostly useless, especially for distinguishing between multiple windows.
docker ps
shows the two containers' names listed, why can't VSCode get them too?