microsoft / microsoft/vscode-containers

Automatically forward ports when used in remote context

Open
#122 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

remote
Dominant language
TypeScript
Stars
139
Forks
87
Avg merge
9h 15m
Merged PRs (30d)
9

Description

I find myself developing on a VM and running Docker on that VM as part of my day-job workflow. Something that would be really nice is if the Docker plugin could automatically forward all of the ports in my docker-compose.yml so that I don't have to add them manually to my workspace.

If this is already an option somewhere and I've missed it, please do let me know. 🙏

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by checking how the Docker extension discovers ports from docker-compose.yml and how a workspace on a VM exposes those ports. Define the behavior for automatically forwarding all published Compose ports, then verify it in a remote workspace without manual port configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, docker-compose, typescript, vscode
Domain
developer-experience, devops
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.