devcontainers / devcontainers/spec

Features: Support PortAttributes and ForwardPorts in devcontainer-feature.json

Open
#142 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
5.7k
Forks
496
PR merge metrics
No merged PRs in 30d

Description

Context in the [#devcontainer-community Slack](https://github.slack.com/archives/C0431R35H37/p1669228846546309)

With me currently trying to reuse a global dotnet tool that is a fake/testing SMTP server, which is useful for testing code that sends out emails.

The dotnet tool is `smtp4dev` which runs a SMTP server listening on port 25 and a Web admin UI on port 5000 to view the emails received/sent out via the SMTP server.

With my feature I am building to use this dotnet tool, it would be great if the feature itself would set the ForwardPorts to 5000 and add a label and protocol into PortAttributes for visibility if you was to use the smtp4dev feature.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.