h5ai is a modern web server index. This docker image makes it trivially easy to spin up a webserver and start sharing your files through the web.
This docker image is available as a trusted build on the docker index, so there's no setup required. Using this image for the first time will start a download automatically. Further runs will be immediate, as the image will be cached locally.
The recommended way to run this container looks like this:
$ sudo docker run -it --rm -p 80:80 -v /your/data:/var/www korni22/docker-h5ai
You can also use docker-compose.yml to run this container
version: '2'
services:
h5ai:
image: korni22/docker-h5ai
container_name: h5ai
restart: always
volumes:
- "/your/data:/var/www"
You can now point your webbrowser to this URL:
http://localhost/