Webserver that uses chunked transfer for growing files into docker (uses shared volumes), it is based on webserver-chunked-growingfiles
- Ensure you have docker installed
- Type: `docker pull jcenzano/docker-webserver-chunked-growingfiles
- Ensure you have docker docker and make installed
- Type
make
- You should create a HTML test file first, such as:
echo "It works." > /tmp/test.html
- You can run the webserver against the previous directory typing:
docker run --rm -itd -v /tmp:/root/media -p 8080:8080 jcenzano/docker-webserver-chunked-growingfiles -d /root/media -p 8080
The previous command offer through HTTP the contents of local /tmp/
dir
- Using your browser navigate to
http://localhost:8080/test.html
, you should see "It works."
The docker container options are the options of webserver-chunked-growingfiles