Public Repository

Last pushed: 2 years ago
Short Description
A minimal image for nginx - created with makejail
Full Description

Minimal nginx image

Just copy or mount your static website into /srv/www.
Replace configuration in /etc/nginx

Example Dockerfile:

FROM lampe/minimal-nginx
COPY content /srv/www/
#COPY config /etc/nginx/ ## image might be missing libraries for some modules

Example Mount:

docker run -v $contentPath:/srv/www:ro lampe/minimal-nginx


docker run -d -v /srv/www --name dataContainer busybox
docker run --volumes-from dataContainer:ro lampe/minimal-nginx

Embedded busybox

Images tagged -busybox contain a static /bin/sh to interact with the container:

docker exec -t -i $name /bin/sh
Docker Pull Command