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

Publish port exposed by workspace at a particular port #1971

Closed
lhwong opened this issue Jul 28, 2016 · 2 comments
Closed

Publish port exposed by workspace at a particular port #1971

lhwong opened this issue Jul 28, 2016 · 2 comments
Labels
kind/enhancement A feature request - must adhere to the feature request template.

Comments

@lhwong
Copy link

lhwong commented Jul 28, 2016

In Dockerfile, I specify EXPOSE 8080 to expose port 8080 for tomcat.

On Operations Perspective/Servers, the following is shown
tomcat8 8080/tcp 192.168.1.150:32848 http://192.168.1.150:32848

Can I configure mapping using a particular port (e.g. 192.168.1.150:80) to port 8080 exposed by my workspace similar to -p option when running docker container process? If yes, how can I do it?

@ddementieva ddementieva added the kind/enhancement A feature request - must adhere to the feature request template. label Jul 28, 2016
@ddementieva
Copy link
Contributor

Exposed ports are currently mapped to a random port from the ephemeral port range. Labeling it as enhancement.

@lhwong
Copy link
Author

lhwong commented Jul 28, 2016

Found info on Che Workspace Port Configuration #808

@lhwong lhwong closed this as completed Jul 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement A feature request - must adhere to the feature request template.
Projects
None yet
Development

No branches or pull requests

2 participants