lighttpd-based, built on alpine Intended to serve static pages, on a kubernetes cluster
10K+
Intended to serve static pages, on a kubernetes cluster.
See lighttpd
Build and run container in local docker
docker build -t dpcrook/alpine-lighttpd-static .
docker run --name "my-lighttpd" --rm -P -t -d \
-v `pwd`/static:/var/www/htdocs \
dpcrook/alpine-lighttpd-static
If the lighttpd container is running, try to use it.
docker ps
# open http://0.0.0.0:32768 <- URL address/port comes from mapped PORTS
docker exec -it my-lighttpd /bin/sh -i
cat /var/log/lighttpd/error.log
tail -f /var/log/lighttpd/access.log
# <Ctrl-C>
exit
docker container stop "my-lighttpd"
There is a static directory here, that is intended to be mounted into container at /var/www/htdocs
docker login
TAG_VERSION=0.1.0
docker build -t dpcrook/alpine-lighttpd-static:${TAG_VERSION} .
docker push dpcrook/alpine-lighttpd-static:${TAG_VERSION}
Content type
Image
Digest
sha256:936c44944…
Size
5.9 MB
Last updated
3 months ago
docker pull dpcrook/alpine-lighttpd-static:latest-arm64v8