microsoft / microsoft/vscode-remote-release
Show attached container name instead of image
@chrmarti is already working on this.
Since Apr 9, 2020.
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 470
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.