aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven-Hendrik Haase <svenstaro@gmail.com>2022-02-06 12:12:19 +0000
committerSven-Hendrik Haase <svenstaro@gmail.com>2022-02-06 12:12:19 +0000
commit7385b6740613ce62ceffcfd6ae3da0256ef44acc (patch)
tree2652a6ca200dc62309a9f95420af16f96284b2bf
parentAdd CHANGELOG for #670 (diff)
downloadminiserve-7385b6740613ce62ceffcfd6ae3da0256ef44acc.tar.gz
miniserve-7385b6740613ce62ceffcfd6ae3da0256ef44acc.zip
Document scoop and podman ways of running miniserve
Related to #602.
-rw-r--r--README.md14
1 files changed, 11 insertions, 3 deletions
diff --git a/README.md b/README.md
index a2dea4a..08ce928 100644
--- a/README.md
+++ b/README.md
@@ -225,7 +225,7 @@ On [Termux](https://termux.com/)
chmod +x miniserve-osx
./miniserve-osx
-Alternatively install with [Homebrew](https://brew.sh/).
+Alternatively install with [Homebrew](https://brew.sh/):
brew install miniserve
miniserve
@@ -234,14 +234,22 @@ Alternatively install with [Homebrew](https://brew.sh/).
miniserve-win.exe
+Alternatively install with [Scoop](https://scoop.sh/):
+
+ scoop install miniserve
+
**With Cargo**: Make sure you have a recent version of Rust. Then you can run
cargo install --locked miniserve
miniserve
-**With Docker:** If you prefer using Docker for this, run
+**With Docker:** Make sure the Docker daemon is running and then run
+
+ docker run -v /tmp:/tmp -p 8080:8080 --rm -it docker.io/svenstaro/miniserve /tmp
+
+**With Podman:** Just run
- docker run -v /tmp:/tmp -p 8080:8080 --rm -it svenstaro/miniserve /tmp
+ podman run -v /tmp:/tmp -p 8080:8080 --rm -it docker.io/svenstaro/miniserve /tmp
## Shell completions