I would like to use Elasticsearch image in a docker set up. But, the image exposes the standard Elasticsearch ports. I want to expose ports 9202 and 9302. How can I do that?
Assuming you are using CircleCI’s native Docker container system, you can supply a command
for each image. This is the command used to start the service. In the case of Elasticsearch, I expect you can send in a parameter that will specify the port to use.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.