Difference between revisions of "Install NATS using docker"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
* https://docs.nats.io/running-a-nats-service/nats_docker
 
* https://docs.nats.io/running-a-nats-service/nats_docker
 +
* https://hub.docker.com/_/nats
  
https://hub.docker.com/_/nats
 
  
 +
[[docker network create nats]]
 
  [[docker run nats]]
 
  [[docker run nats]]
  
  
 
NATS cluster:
 
NATS cluster:
* <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 ==

Latest revision as of 12:52, 2 March 2023

Advertising: