Code for a simple container with Apache httpd fancy index configured
1.2K
Code for a simple container with Apache httpd fancy index configured
The container could remove the data in the volume, please mount the volume in read only adding :ro at the end of the volume statement.
If you want to use this container you must build the Dockerfile with the content of this repository or use the pushed image to DockerHub
| CONTAINER ENGINE | OS | WEBSERVER |
|---|---|---|
![]() | ![]() | ![]() |
You need the next tools to use this container:
* GIT Client
* Docker service
* Docker build tools
You must mount a volume to show over the fancy index, PATH_TO_MOUNT in the instructions
You must pass a port to remote access to the container, EXTERNAL_PORT in the instructions
git clone https://github.com/rdcarrera/alpine-apache2-fancy.git
cd alpine-apache2-fancy
docker build -t example/tag:0.1 .
docker run -d --name alpine-apache2-fancy -v PATH_TO_MOUNT:/fancy/mount:ro -p EXTERNAL_PORT:8080 example/tag:0.1
docker run -d --name alpine-apache2-fancy -v PATH_TO_MOUNT:/fancy/mount:ro -p EXTERNAL_PORT:8080 rdcarrera/alpine-apache2-fancy
If you want to use a custom logo you've' to mount the next volume:
-v /path/to/your/logo.png:/fancy/html/logo/logo.png

Arrow logo taken from: https://www.flaticon.com/free-icon/up-arrow_23714
Content type
Image
Digest
Size
6.9 MB
Last updated
almost 7 years ago
docker pull rdcarrera/alpine-apache2-fancy