Difference between revisions of "Install NATS using docker"

From wikieduonline
Jump to navigation Jump to search
Line 11: Line 11:
 
* <code>docker run --name nats --network nats --rm -p 4222:4222 -p 8222:8222 nats --http_port 8222 --cluster_name NATS --cluster nats://0.0.0.0:6222</code>
 
* <code>docker run --name nats --network nats --rm -p 4222:4222 -p 8222:8222 nats --http_port 8222 --cluster_name NATS --cluster nats://0.0.0.0:6222</code>
  
 +
== Related ==
 +
* [[NATS installation]]
  
 
== See also ==
 
== See also ==

Revision as of 13:02, 22 February 2023

https://hub.docker.com/_/nats


docker network create nats
docker run nats


NATS cluster:

  • docker run --name nats --network nats --rm -p 4222:4222 -p 8222:8222 nats --http_port 8222 --cluster_name NATS --cluster nats://0.0.0.0:6222

Related

See also

Advertising: