Difference between revisions of "Install NATS using docker"
Jump to navigation
Jump to search
Line 8: | 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: