Quick way to share files with a Fancy Index Listing via HTTP.
Parameters | Description |
---|---|
-p 8080:80 | Map host port 8080 |
-e user="foo" | Username for authentication |
-e pass="CHANGE-ME" | Password for authentication |
-e auth="random" | Generate random user/pass for authentication |
-e TZ="Europe/Berlin" | Specify a timezone to use |
-v $PWD:/html | Mount current dirctory for file sharing |
docker run --rm -it -v $PWD:/html -p 8080:80 casperklein/http
docker run --rm -it -v $PWD:/html -p 8080:80 -e user="foo" -e pass="CHANGE-ME" casperklein/http
docker run --rm -it -v $PWD:/html -p 8080:80 -e auth="random" casperklein/http
alias httphere='docker run --rm -it -v $PWD:/html -p 8080:80 casperklein/http'
alias httphere='docker run --rm -it -v $PWD:/html -p 8080:80 -e user="foo" -e pass="CHANGE-ME" casperklein/http'
alias httphere='docker run --rm -it -v $PWD:/html -p 8080:80 -e auth="random" casperklein/http'
http://$HOST:8080/