We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d9c0e13 + d074edf commit d24757bCopy full SHA for d24757b
nats/content.md
@@ -27,6 +27,15 @@
27
#
28
# docker run -p 5555:4444 %%IMAGE%% -p 4444
29
30
+# To enable NATS JetStream, use the -js flag:
31
+#
32
+# docker run -p 4222:4222 %%IMAGE%% -js
33
34
+# And, to persist JetStream data to a volume you can use the -v and -sd flags.
35
+# Keep in mind that -v is a Docker flag, while -js and -sd are NATS Server flags:
36
37
+# docker run -p 4222:4222 -v nats:/data %%IMAGE%% -js -sd /data
38
39
# Check "docker run" for more information.
40
41
$ docker run -d --name nats-main -p 4222:4222 -p 6222:6222 -p 8222:8222 %%IMAGE%%
0 commit comments