A simple implementation of httpbin using gunicorn.
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
docker run -p 8000:8000 skyscanner/httpbin
docker run -e "PORT=8080" -p 8080:8080 skyscanner/httpbin
# Example docker-compose with httbin on a set port number
version: '3'
services:
httpbin:
image: skyscanner/httpbin
ports:
- 8080:8080
environment:
- PORT=8080
Content type
Image
Digest
Size
33.2 MB
Last updated
over 9 years ago
docker pull skyscanner/httpbin