Suggestion for getting started page, bind to container to localhost

On this page: Docker - OpenSearch documentation

I think it might be better to warn people to bind the docker container to localhost. It may be a surprise to some new to docker that this instance is available to the web by default.

Suggested change from:

docker run -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" opensearchproject/opensearch:2.0.0

to

docker run -p 127.0.0.1:9200:9200 -p 127.0.0.1:9600:9600 -e "discovery.type=single-node" opensearchproject/opensearch:2.0.0
2 Likes

Hey Tim! I think this is a really good call out. If you want to put in an Issue/PR I think it would be well received. It’s open for contributions here :blush:

Only 7 months later…

I really like that there’s a link on the page for opening an issue on the documentation! Thank you!