Sign inSign up

skyscanner/httpbin

By skyscanner

•Updated over 9 years ago

Httpbin running in gunicorn

Image
1

10K+

skyscanner/httpbin repository overview

⁠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

Tag summary

Content type

Image

Digest

Size

33.2 MB

Last updated

over 9 years ago

docker pull skyscanner/httpbin