Skip to content

ezhttp/ezhttp

Repository files navigation

ezhttp

Purpose

Lightweight webserver for containers in Golang with security and optimizations

Requirements

NOTE: If you want to use Docker instead, switch podman commands to docker

Quick Start

Build and run the example container:

# Using Podman
podman build -t ezhttp-example:latest . && \
    podman run --rm -it -p 8080:8080 ezhttp-example:latest

# Using Docker
docker build -t ezhttp-example:latest . && \
    docker run --rm -it -p 8080:8080 ezhttp-example:latest

Then open http://localhost:8080 in your browser.

Links