Skip to content

Commit

Permalink
Remove comment from example in server.md
Browse files Browse the repository at this point in the history
In zsh, the comment after the \ causes:
docker: invalid reference format.
See 'docker run --help'.
zsh: no such file or directory: orlangure/gnomock
  • Loading branch information
jayvdb committed May 14, 2022
1 parent 07a49d8 commit 0100668
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/server.md
Expand Up @@ -34,7 +34,7 @@ docker run --rm \
-p 23042:23042 \
-v /var/run/docker.sock:/var/run/docker.sock \
-v $PWD:$PWD \
--privileged \ # this flag may be required on some systems
--privileged \
orlangure/gnomock
```

Expand All @@ -45,6 +45,8 @@ can use any port you like, just make sure to configure the client properly.
with the docker engine running on host. Without it `gnomock` can't access
docker.

`--privileged` may be required on some systems.

If you use any file-related `gnomock` options, like `WithQueriesFile`, you have
to make the path you use available inside the container:

Expand Down

0 comments on commit 0100668

Please sign in to comment.