basiweb is a very light web server written in Go.
To get more information see the Github repository.
The simpliest start syntax is
$ docker run --rm -p 8080:80 cyd01/basicweb
2021/06/25 07:21:12 ☢ Starting web server
2021/06/25 07:21:12 on :80 with directory /web/www with status response 0
$ docker run --rm cyd01/basicweb -h
Usage of ./basicweb:
-cmd string
external command (/path1/=cmd1,...)
-dir string
root directory (default ".")
-echo
start echo web server
-headers string
add specific headers (header1=value1[,...])
-nocache
force not to cache
-pass string
password for basic authentication (modification only)
-port string
port web server (default "80")
-status int
force return code
-timeout int
timeout for external command (default 30)
-tls
active ssl with key.pem and cert.pem files
-user string
username for basic authentication (modification only)
Content type
Image
Digest
sha256:9e245807b…
Size
9 MB
Last updated
about 16 hours ago
docker pull cyd01/basicweb