Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
docs: align whitespace in README
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmurdoch authored and MicaiahReid committed Jan 11, 2023
1 parent 702db83 commit ebaba8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/packages/ganache/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -609,14 +609,14 @@ To pass options to Ganache through Docker simply add the arguments to the end of

```console
$ docker run --detach --publish 8545:8545 trufflesuite/ganache:latest --accounts 10 --debug
^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^
```

The Docker container adds an environment variable `DOCKER=true`; when this variable is set to `true` (case insensitive), Ganache uses a default hostname IP of `0.0.0.0` instead of the normal default `127.0.0.1`. You can still specify a custom hostname however:

```console
$ docker run --detach --publish 8545:8545 trufflesuite/ganache:latest --host XXX.XXX.XXX.XXX
^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^
```

To build and run the Docker container from source:
Expand Down

0 comments on commit ebaba8f

Please sign in to comment.