Sign inSign up

e7db/200-ok

By e7db

Updated 3 months ago

Image
0

1.5K

e7db/200-ok repository overview

200-ok

A minimal HTTP server in Rust, using only the standard library.
Distributed as a lightweight Docker image under 500kB.
Listens on port 80 and replies to any HTTP request with 200 OK and the body OK\n.

Features

  • Extremely small and fast
  • No dependencies outside Rust standard library
  • Configurable thread pool and socket timeout via environment variables
  • Multi-architecture Docker images

Quick Start

Pull and run from Docker Hub:

docker run --rm -p 80:80 e7db/200-ok

Or from GitHub Container Registry:

docker run --rm -p 80:80 ghcr.io/e7db/200-ok

HTTP Response

HTTP/1.1 200 OK
Content-Length: 3

OK

License

This project is licensed under the MIT License.

Tag summary

Content type

Image

Digest

sha256:76ec641e6

Size

211.6 kB

Last updated

3 months ago

docker pull e7db/200-ok