Skip to content

Latest commit

 

History

History
35 lines (16 loc) · 1.14 KB

README.md

File metadata and controls

35 lines (16 loc) · 1.14 KB

NSQ Dockerfile

This repository contains Dockerfile of NSQ for Docker's automated build published to the public Docker Hub Registry.

Base Docker Image

Installation

  1. Install Docker.

  2. 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)

Usage

docker run -it --rm dockerfile/nsq

Run nsqlookupd

docker run -d --name nsqlookupd dockerfile/nsq nsqlookupd

Run nsqadmin

docker run -d --name nsqadmin --link nsqlookupd:nsqlookupd dockerfile/nsq nsqadmin --lookupd-http-address nsqlookupd:4161

Run nsqd

docker run -d --name nsqd --link nsqlookupd:nsqlookupd dockerfile/nsq nsqd --data-path /data --lookupd-tcp-address nsqlookupd:4160