From 7ff65a3320a507d9404e7bf0eec5e8ed9cded938 Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Fri, 15 Feb 2019 16:46:11 +0100 Subject: Add Docker command to README --- README.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 4011d7d..b186ece 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,10 @@ Sometimes this is just a more practical and quick way than doing things properly cargo install miniserve miniserve +**With Docker:** If you prefer using Docker for this, run + + docker run -v /tmp:/tmp -p 8080:8080 --rm -it svenstaro/miniserve /tmp + ## Binding behavior For convenience reasons, miniserve will try to bind on all interfaces by default (if no `-i` is provided). -- cgit v1.2.3