dcoliversun commented on PR #15: URL: https://github.com/apache/spark-docker/pull/15#issuecomment-1285152926
@Yikun Agreed. > A quick question, how many ports should be exposed in future? I believe we should only expose 7077 because it is used to connection between master and work and other ports which should be published are used to access the application from the host. > For common ports, we could write them directly in the dockerfile, and for the less commonly used ones, we can expose them to users through docker -p port:port and doc them, WDYT? Yes, I have [SPARK-40570](https://issues.apache.org/jira/browse/SPARK-40570) to do it. 8080(master ui port)/8081(worker ui port)/4040(live app ui port)/6066(external service) should be published and I will write in doc with command `docker run --publish <host_port>:<container_port>`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
