Sign inSign up

casperklein/http

By casperklein

•Updated 5 days ago

https://github.com/casperklein/docker-http

Image
0

10K+

casperklein/http repository overview

⁠docker-http

Version Supports amd64 architecture Supports aarch64 architecture Supports armhf architecture Supports armv7 architecture Docker image size

Quick way to share files with a Fancy Index Listing⁠ via HTTP.

⁠Parameters

ParametersDescription
-p 8080:80Map 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:/htmlMount current dirctory for file sharing

⁠Share files in current directory via HTTP

docker run --rm -it -v $PWD:/html -p 8080:80 casperklein/http
⁠with authentication
docker run --rm -it -v $PWD:/html -p 8080:80 -e user="foo" -e pass="CHANGE-ME" casperklein/http
⁠authentication with random credentials
docker run --rm -it -v $PWD:/html -p 8080:80 -e auth="random" casperklein/http

⁠Aliases

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'

⁠Access files

http://$HOST:8080/

Fancy Directory Listing

Tag summary

Content type

Image

Digest

sha256:2ec3afd12…

Size

62.6 MB

Last updated

5 days ago

docker pull casperklein/http