Public Repository

Last pushed: 3 months ago
Short Description
Httpbin running in gunicorn
Full Description

Skyscanner docker-httpbin

A simple implementation of httpbin using gunicorn.

Usage

The image doesn't expose any ports by default so you must expose or forward ports to interact with httpbin. The default port httpbin listens on is 8000

Run defaults (port 8000)

docker run -p 8000:8000 skyscanner/httpbin

Run with a different port (8080)

docker run -e "PORT=8080" -p 8080:8080 skyscanner/httpbin

Usage inside docker compose

# Example docker-compose with httbin on a set port number
version: '3'
services:
  httpbin:
    image: skyscanner/httpbin
    ports:
    - 8080:8080
    environment:
    - PORT=8080
Docker Pull Command
Owner
skyscanner

Comments (0)