From 7385b6740613ce62ceffcfd6ae3da0256ef44acc Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Sun, 6 Feb 2022 13:12:19 +0100 Subject: Document scoop and podman ways of running miniserve Related to #602. --- README.md | 14 +++++++++++--- 1 file 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 -- cgit v1.2.3