Skip to content

Commit

Permalink
Add missing --host in docs (#159)
Browse files Browse the repository at this point in the history
minor change to the readme adding an extra hyphen to the docker command
  • Loading branch information
amasanelli authored Feb 5, 2024
1 parent ae26b72 commit c4f7019
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c4f7019

Please sign in to comment.