Comments (9)
We narrow the range of what is exposed so that docker will start in a reasonable time. There is significant overhead for each expert port exposed.
from che.
Is the 32768-65535
in Dockerfile still right? Shall we make the two ranges the same?
from che.
I'm not sure when I start docker image, which range of port shall I use. e.g.
docker run -it --privileged -e DOCKER_MACHINE_HOST=159.203.201.197 -p 8080:8080 -p 49152-49752:49152-49752 codenvy/che:4.0.0-beta-5
docker run -it --privileged -e DOCKER_MACHINE_HOST=159.203.201.197 -p 8080:8080 -p 32768-32788:32768-32788 codenvy/che:4.0.0-beta-5
Shall I start with 49152
or 32768
? Or either one is OK?
from che.
No the internal structure is correct. The better answer is to use the --net option. We need to do more testing on that option and its performance before we make that the primary configuration.
from che.
Start with the 32768 but both should be ok.
from che.
@TylerJewell Not quite understand why it's 32768
, since it's only exposed in Dockerfile. Does the che program running inside the container have a way to know it? I thought it should get the sys.resources.min_port
from che.properties
and use 49152
from che.
@eivantsov?
from che.
This should explain it.
https://eclipse-che.readme.io/v4.0/docs/usage-docker#ports
from che.
range of available service ports
sys.resources.min_port=49152
sys.resources.max_port=65535
deprecated. we'll remove it from conf
from che.
Related Issues (20)
- ReportPortal Access Request - Web Terminal HOT 2
- Set up SMTP server for invating members in the Report portal
- Study Report portal documentation
- Find solution for extracting text from the WebTerminal
- Investigate and implement if it is possible UI test in DWO project
- Apply test framework which can implement our CI Stability Quality Metric requrements
- ReportPortal: Train the tool - Web Terminal
- Investigate possibility of running DevFile acceptance tests without Che server
- Che-Code automatic rebase against upstream VS Code is failed
- Allow to configure securityContext for che-gateway container HOT 6
- Rewrite WTO tests under admin user HOT 1
- Unexpected workspace restart due to scale down of a replicaset HOT 11
- Allow pod-overrides of `volumes` and container-overrides of `volumeMounts` in Devfiles HOT 7
- Can't use universal-developer-image:ubi8-latest with sqlite HOT 7
- Failed to start a workspace via factory with devfile 2.2.2 HOT 2
- Remove devfile schema validation from che-server
- Make it possible to connect to a container via SSH HOT 1
- Advanced Authorization Blog Post HOT 1
- The UD does not have a length limitation for auto-generated names
- Update and check the e2e test image
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from che.