Skip to content

Commit e7c4f46

Browse files
authored
Update README with docker instruction to map network
1 parent d4022d1 commit e7c4f46

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,11 @@ The Docker image can then be run by calling `docker run` and exposing the necess
4545

4646
```sh
4747
# if you built the image yourself
48-
docker run --rm -d -p 3000:3000 -p 3001:3001 --name=gremlin-visualizer gremlin-visualizer:latest
48+
docker run --rm -d -p 3000:3000 -p 3001:3001 --name=gremlin-visualizer --network=host gremlin-visualizer:latest
4949
# if you downloaded from Docker Hub
50-
docker run --rm -d -p 3000:3000 -p 3001:3001 --name=gremlin-visualizer prabushitha/gremlin-visualizer:latest
50+
docker run --rm -d -p 3000:3000 -p 3001:3001 --name=gremlin-visualizer --network=host prabushitha/gremlin-visualizer:latest
5151
```
52+
Note that `--network=host` is not needed if you don't run your gremlin server in the host machine.
5253

5354
The Docker container can be stopped by calling `docker stop gremlin-visualizer`.
5455

0 commit comments

Comments
 (0)