From c4f701921f9bb649c223994206f1dd92c6aabd5b Mon Sep 17 00:00:00 2001 From: Andres Masanelli <36801026+amasanelli@users.noreply.github.com> Date: Tue, 6 Feb 2024 01:28:57 +1100 Subject: [PATCH] Add missing --host in docs (#159) minor change to the readme adding an extra hyphen to the docker command --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 769aa19..8b12570 100644 --- a/README.md +++ b/README.md @@ -86,13 +86,13 @@ $ brew install friendsofgo/tap/killgrave The application is also available through [Docker](https://hub.docker.com/r/friendsofgo/killgrave). ```bash -docker run -it --rm -p 3000:3000 -v $PWD/:/home -w /home friendsofgo/killgrave -host 0.0.0.0 +docker run -it --rm -p 3000:3000 -v $PWD/:/home -w /home friendsofgo/killgrave --host 0.0.0.0 ``` `-p 3000:3000` [publishes](https://docs.docker.com/engine/reference/run/#expose-incoming-ports) port 3000 (Killgrave's default port) inside the container to port 3000 on the host machine. -`-host 0.0.0.0` is necessary to allow Killgrave to listen and respond to requests from outside the container (the default, +`--host 0.0.0.0` is necessary to allow Killgrave to listen and respond to requests from outside the container (the default, `localhost`, will not capture requests from the host network). ### Compile by yourself