Difference between revisions of "Install NATS using docker"
Jump to navigation
Jump to search
(One intermediate revision 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 | |
− | |||
Line 9: | Line 8: | ||
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 == | == Related == |
Latest revision as of 12:52, 2 March 2023
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[edit]
See also[edit]
Advertising: