Skip to content

jordicenzano/docker-webserver-chunked-growingfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-webserver

Webserver that uses chunked transfer for growing files into docker (uses shared volumes), it is based on webserver-chunked-growingfiles

Pulling docker image from docker hub

  1. Ensure you have docker installed
  2. Type: `docker pull jcenzano/docker-webserver-chunked-growingfiles

Creating the docker image locally (optional)

  1. Ensure you have docker docker and make installed
  2. Type make

Testing the image

  1. You should create a HTML test file first, such as:
echo "It works." > /tmp/test.html
  1. 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

  1. 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

About

Docker for a webserver that uses chunked transfer for growing files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published