Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Expose range of ports #1037

Open
gilsdav opened this issue May 6, 2020 · 1 comment
Open

Expose range of ports #1037

gilsdav opened this issue May 6, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@gilsdav
Copy link

gilsdav commented May 6, 2020

Describe the bug

I would like to expose a range of ports like in docker run

rio run -p 80:8080 -p 4000-5000:4000-5000 codercom/code-server:latest

Why ?

I use "code-server" that is the on-premise vs/github codespace.
I don't know how many ports will be used

Expected behavior

-p 4000-5000:4000-5000 have to forward the specified range of ports to the container.

Alternative

I'm able to so what I need using SubPath config as indicate into https://github.com/cdr/code-server/blob/37184f456c2f59a5741721928a8ef52767d7bf70/doc/FAQ.md#sub-paths

It's not blocker so let me know if you think it's possible to implement or not :)

@gilsdav gilsdav added the bug Something isn't working label May 6, 2020
@StrongMonkey
Copy link
Contributor

StrongMonkey commented May 8, 2020

This is interesting :-). I look at docker docs and it seems to support it. Implementing that in Rio would be a different approach since it is backed by kubernetes.(Will need to expose ports through kubernete services).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants