Skip to content

Commit

Permalink
Merge pull request #137 from juanjux/fix/macOS_command
Browse files Browse the repository at this point in the history
[README] Add macOS command
  • Loading branch information
abeaumont authored Dec 20, 2017
2 parents 2dd81ac + 4dff4a9 commit 67a907c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ The recommended way to run *bblfshd* is using *docker*:
docker run -d --name bblfshd --privileged -p 9432:9432 -v /var/lib/bblfshd:/var/lib/bblfshd bblfsh/bblfshd
```

On macOS, use this command instead to use a docker volume:

```sh
docker run -d --name bblfshd --privileged -p 9432:9432 -v bblfsh-storage:/var/lib/bblfshd bblfsh/bblfshd
```


The container should be executed with the `--privileged` flag since *bblfshd* it's
based on [container technology](https://github.com/opencontainers/runc/tree/master/libcontainer)
and interacts with the kernel at a low level. *bblfshd*, expose a gRPC server at
Expand Down

0 comments on commit 67a907c

Please sign in to comment.