From e087b0208e0783502dcd89d8e7efce7593b0501a Mon Sep 17 00:00:00 2001 From: Adam Locke Date: Tue, 25 Oct 2022 10:50:27 -0400 Subject: [PATCH] [DOCS] Remove extra ports in Docker command The current command to start the first Elasticsearch node includes `-p 9200:9200` and `-p 9300:9300`. This PR removes the extra ports so that they're not open unnecessarily. --- docs/reference/setup/install/docker.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/setup/install/docker.asciidoc b/docs/reference/setup/install/docker.asciidoc index 404e1f718c3bc..6e51d27792de2 100644 --- a/docs/reference/setup/install/docker.asciidoc +++ b/docs/reference/setup/install/docker.asciidoc @@ -96,7 +96,7 @@ endif::[] ifeval::["{release-state}"!="unreleased"] [source,sh,subs="attributes"] ---- -docker run --name es01 --net elastic -p 9200:9200 -p 9300:9300 -it {docker-image} +docker run --name es01 --net elastic -p 9200:9200 -it {docker-image} ---- endif::[]