From fa907a7b5a69338fbac02acb25ed6854fd180446 Mon Sep 17 00:00:00 2001 From: Juanjo Alvarez Date: Thu, 30 Nov 2017 11:46:25 +0100 Subject: [PATCH 1/2] Add macOS command Signed-off-by: Juanjo Alvarez --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 18c8fb8..af87917 100644 --- a/README.md +++ b/README.md @@ -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-cache:/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 From 4dff4a93b90d80be03e5025c5e9ff8de197ccf1b Mon Sep 17 00:00:00 2001 From: Juanjo Alvarez Date: Tue, 19 Dec 2017 12:39:02 +0100 Subject: [PATCH 2/2] Change cache for storage. Signed-off-by: Juanjo Alvarez --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index af87917..41f8849 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ docker run -d --name bblfshd --privileged -p 9432:9432 -v /var/lib/bblfshd:/var/ On macOS, use this command instead to use a docker volume: ```sh -docker run -d --name bblfshd --privileged -p 9432:9432 -v bblfsh-cache:/var/lib/bblfshd bblfsh/bblfshd +docker run -d --name bblfshd --privileged -p 9432:9432 -v bblfsh-storage:/var/lib/bblfshd bblfsh/bblfshd ```