Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Pull request Compare This branch is 2 commits behind fanout:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Pushpin Dockerfile

This repository contains Dockerfile of Pushpin for Docker published to the public Docker Hub Registry.

Base Docker Image


  1. Install Docker.

  2. Download automated build from public Docker Hub Registry: docker pull fanout/pushpin

Alternatively, you can build an image from the Dockerfile:

docker build -t fanout/pushpin .


docker run -dt -p 7999:7999 --name pushpin --rm fanout/pushpin

Attach app to accept traffic

By default, Pushpin routes traffic to host "app" port 8080.

  1. Start a backend webserver container that exposes port 8080.

  2. Start a pushpin container by linking to the backend container:

docker run -dt -p 7999:7999 --name pushpin --link backend:app fanout/pushpin

Open http://<host>:7999 to see the result.

You can override the target with -e. For example:

docker run -dt -p 7999:7999 --name pushpin --link backend:app -e "target=app:8001" fanout/pushpin

Attach app to respond to traffic

  1. Start a responder container by linking to the pushpin container:
docker run -d --link pushpin:pushpin ubuntu bash -c "apt-get update; apt-get install -y curl; while true; do curl -s -d '{ \"items\": [ { \"channel\": \"test\", \"formats\": { \"http-stream\": { \"content\": \"hello there\n\" } } } ] }' http://pushpin:5561/publish ; sleep 1; done"
You can’t perform that action at this time.