@@ -33,15 +33,11 @@ Docker image is currently available for this version.
33
33
34
34
endif::[]
35
35
36
- ifeval::["{release-state}"!="unreleased"]
37
-
38
36
[source,sh,subs="attributes"]
39
37
----
40
38
docker pull {docker-repo}:{version}
41
39
----
42
40
43
- endif::[]
44
-
45
41
[[docker-verify-signature]]
46
42
==== Optional: Verify the image signature
47
43
@@ -57,8 +53,6 @@ Docker image signature is currently available for this version.
57
53
58
54
endif::[]
59
55
60
- ifeval::["{release-state}"!="unreleased"]
61
-
62
56
Install the appropriate https://docs.sigstore.dev/cosign/installation/[Cosign application]
63
57
for your operating system.
64
58
@@ -83,8 +77,6 @@ The following checks were performed on each of these signatures:
83
77
- The signatures were verified against the specified public key
84
78
--------------------------------------------
85
79
86
- endif::[]
87
-
88
80
89
81
[[docker-cli-run-dev-mode]]
90
82
==== Run {es} in Docker
@@ -123,7 +115,6 @@ Docker image is currently available for this version.
123
115
124
116
endif::[]
125
117
126
- ifeval::["{release-state}"!="unreleased"]
127
118
[source,sh,subs="attributes"]
128
119
----
129
120
docker run --name es01 --net elastic -p 9200:9200 -it -m 1GB {docker-image}
@@ -132,8 +123,6 @@ docker run --name es01 --net elastic -p 9200:9200 -it -m 1GB {docker-image}
132
123
TIP: Use the `-m` flag to set a memory limit for the container.
133
124
134
125
The command prints the `elastic` user password and an enrollment token for {kib}.
135
-
136
- endif::[]
137
126
--
138
127
139
128
. Copy the generated `elastic` password and enrollment token. These credentials
@@ -193,13 +182,10 @@ Docker image is currently available for this version.
193
182
194
183
endif::[]
195
184
196
- ifeval::["{release-state}"!="unreleased"]
197
185
[source,sh,subs="attributes"]
198
186
----
199
187
docker run -e ENROLLMENT_TOKEN="<token>" --name es02 --net elastic -it {docker-image}
200
188
----
201
-
202
- endif::[]
203
189
--
204
190
205
191
. Call the <<cat-nodes,cat nodes API>> to verify the node was added to the cluster.
@@ -265,15 +251,13 @@ repository on GitHub.
265
251
266
252
--
267
253
ifeval::["{release-state}"=="unreleased"]
268
- NOTE : Version {version} of {es} has not been released,
269
- so the sample Docker Compose and configuration files are not yet available for
270
- this version. See the {stack-gs-current}/get-started-docker.html[current version]
271
- for the latest sample files.
254
+ WARNING : Version {version} of {es} has not been released,
255
+ so the following Docker Compose and configuration files won't work.
256
+ See the {stack-gs-current}/get-started-docker.html[current version]
257
+ for the latest working files.
272
258
endif::[]
273
259
--
274
260
275
- --
276
- ifeval::["{release-state}"!="unreleased"]
277
261
278
262
[discrete]
279
263
[[docker-env-file]]
@@ -315,8 +299,6 @@ then only be accessible from the host machine itself.
315
299
include::docker/docker-compose.yml[]
316
300
----
317
301
318
- endif::[]
319
- --
320
302
321
303
===== Start your cluster with security enabled and configured
322
304
@@ -687,7 +669,6 @@ instead. The command must:
687
669
* Use the `elasticsearch-keystore` tool with the `create -p` option. You'll be
688
670
prompted to enter a password for the keystore.
689
671
690
- ifeval::["{release-state}"!="unreleased"]
691
672
For example:
692
673
693
674
[source,sh,subs="attributes"]
@@ -711,7 +692,6 @@ bin/elasticsearch-keystore \
711
692
add my.secure.setting \
712
693
my.other.secure.setting
713
694
----
714
- endif::[]
715
695
716
696
If you've already created the keystore and don't need to update it, you can
717
697
bind-mount the `elasticsearch.keystore` file directly. You can use the
0 commit comments