This repository contains Dockerfile of NSQ for Docker's automated build published to the public Docker Hub Registry.
-
Install Docker.
-
Download automated build from public Docker Hub Registry:
docker pull dockerfile/nsq
(alternatively, you can build an image from Dockerfile:
docker build -t="dockerfile/nsq" github.com/dockerfile/nsq
)
docker run -it --rm dockerfile/nsq
docker run -d --name nsqlookupd dockerfile/nsq nsqlookupd
docker run -d --name nsqadmin --link nsqlookupd:nsqlookupd dockerfile/nsq nsqadmin --lookupd-http-address nsqlookupd:4161
docker run -d --name nsqd --link nsqlookupd:nsqlookupd dockerfile/nsq nsqd --data-path /data --lookupd-tcp-address nsqlookupd:4160