debain - httpd file server on port 8000
5.3K
moved to jgsoftwares/openwrthttpfileserver:latest
a simple apache http fileserver \
run command
path for files is /srv/www/htdocs
openwrt
-e NETWORK_IF=eth0
the dns server is no-ip public dns
display files from path -v /srv/www/htdocs:/usr/local/apache2/htdocs/
run container with host and none network:
docker run -d --rm --name httpfileserver --security-opt seccomp=unconfined --security-opt apparmor=docker-default -p 0.0.0.0:8000:8000 --net=host --net=none --runtime io.containerd.runc.v2 --platform=linux/amd64 -v /srv/www/htdocs:/usr/local/apache2/htdocs/ --cap-add=NET_ADMIN --dns 194.62.181.53 --dns 194.62.180.53 --dns 204.16.255.53 --dns 204.16.254.53 --privileged jgsoftwares/httpdfileserver:openwrtext4
Content type
Image
Digest
sha256:90d09d72d…
Size
61.8 MB
Last updated
almost 3 years ago
docker pull jgsoftwares/httpdfileserver