Skip to content

Commit 03e8eb2

Browse files
debadairlockewritesdocsAdam Locke
authored
[DOCS] Remove extra ports in Docker command (elastic#91118) (elastic#91820)
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. Co-authored-by: Adam Locke <[email protected]> Co-authored-by: Adam Locke <[email protected]> Co-authored-by: Adam Locke <[email protected]>
1 parent 9bd5ddd commit 03e8eb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/setup/install/docker.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ endif::[]
9696
ifeval::["{release-state}"!="unreleased"]
9797
[source,sh,subs="attributes"]
9898
----
99-
docker run --name es01 --net elastic -p 9200:9200 -p 9300:9300 -it {docker-image}
99+
docker run --name es01 --net elastic -p 9200:9200 -it {docker-image}
100100
----
101101

102102
endif::[]

0 commit comments

Comments
 (0)