microsoft / microsoft/vscode-remote-release
Unable to label ports exposed by `appPort`
Open
Nobody has claimed this yet.
containers
feature-request
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 469
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
- VSCode Version: 1.105.0
- Local OS Version: Windows 11 25H2
- Remote OS Version: Ubuntu 24.04.3 LTS
- Remote Extension/Connection Type: Dev Containers
- Logs: N/A
Steps to Reproduce:
-
Include
portAttributesto the devcontainer.json:{ "appPort": ["8123:8123"], // existing "portsAttributes": { "8123": { "label": "Home Assistant", "onAutoForward": "silent" } } } -
Reopen in the devcontainer
-
Check ports tab:
No Home Assistant label. I was expecting to see something like:
Note that appPort cannot be refactored into forwardPorts because of:
- https://github.com/devcontainers/spec/issues/643
- https://github.com/home-assistant/core/pull/154099/files#r2417724273
Does this issue occur when you try this locally?: N/A
Does this issue occur when you try this locally and all extensions are disabled?: Yes
This is related to https://github.com/microsoft/vscode-remote-release/issues/11254.
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.