Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

port forwarding with multiple exposed ports #44

Open
morph027 opened this issue Feb 5, 2024 · 2 comments
Open

port forwarding with multiple exposed ports #44

morph027 opened this issue Feb 5, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@morph027
Copy link

morph027 commented Feb 5, 2024

I just tried port forwarding with a container having multiple exposed ports. In https://github.com/tedsmitt/ecsgo/blob/main/internal/internal.go#L158 the command fetches the first available port. It would be good to either use -f <port> and/or present a selection which port to forward. Did not had the time yet to try implementing myself, just leaving this issue here for now.

@tedsmitt
Copy link
Owner

tedsmitt commented Feb 6, 2024

Yep, good feedback. I'll take a look at implementing this when I get chance. Feel free to open a PR as well if you like!

@tedsmitt tedsmitt added the enhancement New feature or request label Feb 6, 2024
@morph027
Copy link
Author

morph027 commented Feb 6, 2024

Had a quick look already and was trying to tinker with the select menu but somehow I struggle to create working go code 🙈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants