{"action":"created","comment":{"url":"https://api.github.com/repos/bblfsh/documentation/pulls/comments/126979305","pull_request_review_id":49516843,"id":126979305,"diff_hunk":"@@ -89,6 +89,37 @@ $ echo \"import foo\" > sample.py\n $ bblfsh client sample.py\n ```\n \n+### Overriding driver images\n+\n+Perhaps you need that Babelfish Server runs different driver images than the default ones. You can configure what images it should use throw the environment variable `BBLFSH_DRIVER_IMAGES`. The command `bblfsh server ` looks for this variable which must look like:\n+\n+    BBLFSH_DRIVER_IMAGES=\"language=docker-daemon:image:tag;language2=docker-daemon:image2:tag\"\n+\n+So if you are running the server with a Docker container you could do something similar to:\n+\n+```\n+$ docker run -e 'BBLFSH_DRIVER_IMAGES=\"python=docker-daemon:bblfsh/python:dev-96b24d3;java=docker-daemon:bblfsh/java-driver:latest\"' --privileged -p 9432:9432 --name bblfsh bblfsh/server\n+time=\"2017-07-12T14:11:13Z\" level=debug msg=\"binding to 0.0.0.0:9432\"\n+time=\"2017-07-12T14:11:13Z\" level=debug msg=\"initializing runtime at /tmp/bblfsh-runtime\"\n+time=\"2017-07-12T14:11:13Z\" level=debug msg=\"Overriding image for \"python: docker-daemon:bblfsh/python:dev-96b24d3\"\n+time=\"2017-07-12T14:11:13Z\" level=debug msg=\"Overriding image for java: docker-daemon:bblfsh/java-driver:latest\"\"\n+time=\"2017-07-12T14:11:13Z\" level=debug msg=\"starting server\"\n+time=\"2017-07-12T14:11:13Z\" level=debug msg=\"registering gRPC service\"\n+time=\"2017-07-12T14:11:13Z\" level=info msg=\"starting gRPC server\"\n+```\n+Or if you prefer running in standalone mode:","path":"user/getting-started.md","position":48,"original_position":48,"commit_id":"3d090f47841a2270d6dbd57747844b5a9ea47552","original_commit_id":"3d090f47841a2270d6dbd57747844b5a9ea47552","user":{"login":"juanjux","id":277378,"avatar_url":"https://avatars1.githubusercontent.com/u/277378?v=3","gravatar_id":"","url":"https://api.github.com/users/juanjux","html_url":"https://github.com/juanjux","followers_url":"https://api.github.com/users/juanjux/followers","following_url":"https://api.github.com/users/juanjux/following{/other_user}","gists_url":"https://api.github.com/users/juanjux/gists{/gist_id}","starred_url":"https://api.github.com/users/juanjux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juanjux/subscriptions","organizations_url":"https://api.github.com/users/juanjux/orgs","repos_url":"https://api.github.com/users/juanjux/repos","events_url":"https://api.github.com/users/juanjux/events{/privacy}","received_events_url":"https://api.github.com/users/juanjux/received_events","type":"User","site_admin":false},"body":"\"running **it** in standalone mode\" sounds better to me trough I think both expressions would be correct.","created_at":"2017-07-12T14:59:30Z","updated_at":"2017-07-12T14:59:49Z","html_url":"https://github.com/bblfsh/documentation/pull/61#discussion_r126979305","pull_request_url":"https://api.github.com/repos/bblfsh/documentation/pulls/61","_links":{"self":{"href":"https://api.github.com/repos/bblfsh/documentation/pulls/comments/126979305"},"html":{"href":"https://github.com/bblfsh/documentation/pull/61#discussion_r126979305"},"pull_request":{"href":"https://api.github.com/repos/bblfsh/documentation/pulls/61"}}},"pull_request":{"url":"https://api.github.com/repos/bblfsh/documentation/pulls/61","id":130151278,"html_url":"https://github.com/bblfsh/documentation/pull/61","diff_url":"https://github.com/bblfsh/documentation/pull/61.diff","patch_url":"https://github.com/bblfsh/documentation/pull/61.patch","issue_url":"https://api.github.com/repos/bblfsh/documentation/issues/61","number":61,"state":"open","locked":false,"title":"added how to override driver images documentation","user":{"login":"mcarmonaa","id":16907441,"avatar_url":"https://avatars1.githubusercontent.com/u/16907441?v=3","gravatar_id":"","url":"https://api.github.com/users/mcarmonaa","html_url":"https://github.com/mcarmonaa","followers_url":"https://api.github.com/users/mcarmonaa/followers","following_url":"https://api.github.com/users/mcarmonaa/following{/other_user}","gists_url":"https://api.github.com/users/mcarmonaa/gists{/gist_id}","starred_url":"https://api.github.com/users/mcarmonaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcarmonaa/subscriptions","organizations_url":"https://api.github.com/users/mcarmonaa/orgs","repos_url":"https://api.github.com/users/mcarmonaa/repos","events_url":"https://api.github.com/users/mcarmonaa/events{/privacy}","received_events_url":"https://api.github.com/users/mcarmonaa/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-07-12T14:21:29Z","updated_at":"2017-07-12T14:59:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9f2b6b8f459518b6beb955e1c235505081ab4965","assignee":null,"assignees":[],"requested_reviewers":[{"login":"smola","id":23248,"avatar_url":"https://avatars2.githubusercontent.com/u/23248?v=3","gravatar_id":"","url":"https://api.github.com/users/smola","html_url":"https://github.com/smola","followers_url":"https://api.github.com/users/smola/followers","following_url":"https://api.github.com/users/smola/following{/other_user}","gists_url":"https://api.github.com/users/smola/gists{/gist_id}","starred_url":"https://api.github.com/users/smola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smola/subscriptions","organizations_url":"https://api.github.com/users/smola/orgs","repos_url":"https://api.github.com/users/smola/repos","events_url":"https://api.github.com/users/smola/events{/privacy}","received_events_url":"https://api.github.com/users/smola/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/bblfsh/documentation/pulls/61/commits","review_comments_url":"https://api.github.com/repos/bblfsh/documentation/pulls/61/comments","review_comment_url":"https://api.github.com/repos/bblfsh/documentation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bblfsh/documentation/issues/61/comments","statuses_url":"https://api.github.com/repos/bblfsh/documentation/statuses/3d090f47841a2270d6dbd57747844b5a9ea47552","head":{"label":"mcarmonaa:improvement/overriding-driver-images","ref":"improvement/overriding-driver-images","sha":"3d090f47841a2270d6dbd57747844b5a9ea47552","user":{"login":"mcarmonaa","id":16907441,"avatar_url":"https://avatars1.githubusercontent.com/u/16907441?v=3","gravatar_id":"","url":"https://api.github.com/users/mcarmonaa","html_url":"https://github.com/mcarmonaa","followers_url":"https://api.github.com/users/mcarmonaa/followers","following_url":"https://api.github.com/users/mcarmonaa/following{/other_user}","gists_url":"https://api.github.com/users/mcarmonaa/gists{/gist_id}","starred_url":"https://api.github.com/users/mcarmonaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcarmonaa/subscriptions","organizations_url":"https://api.github.com/users/mcarmonaa/orgs","repos_url":"https://api.github.com/users/mcarmonaa/repos","events_url":"https://api.github.com/users/mcarmonaa/events{/privacy}","received_events_url":"https://api.github.com/users/mcarmonaa/received_events","type":"User","site_admin":false},"repo":{"id":97012127,"name":"documentation","full_name":"mcarmonaa/documentation","owner":{"login":"mcarmonaa","id":16907441,"avatar_url":"https://avatars1.githubusercontent.com/u/16907441?v=3","gravatar_id":"","url":"https://api.github.com/users/mcarmonaa","html_url":"https://github.com/mcarmonaa","followers_url":"https://api.github.com/users/mcarmonaa/followers","following_url":"https://api.github.com/users/mcarmonaa/following{/other_user}","gists_url":"https://api.github.com/users/mcarmonaa/gists{/gist_id}","starred_url":"https://api.github.com/users/mcarmonaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcarmonaa/subscriptions","organizations_url":"https://api.github.com/users/mcarmonaa/orgs","repos_url":"https://api.github.com/users/mcarmonaa/repos","events_url":"https://api.github.com/users/mcarmonaa/events{/privacy}","received_events_url":"https://api.github.com/users/mcarmonaa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mcarmonaa/documentation","description":"Babelfish documentation (gitbook sources)","fork":true,"url":"https://api.github.com/repos/mcarmonaa/documentation","forks_url":"https://api.github.com/repos/mcarmonaa/documentation/forks","keys_url":"https://api.github.com/repos/mcarmonaa/documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mcarmonaa/documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mcarmonaa/documentation/teams","hooks_url":"https://api.github.com/repos/mcarmonaa/documentation/hooks","issue_events_url":"https://api.github.com/repos/mcarmonaa/documentation/issues/events{/number}","events_url":"https://api.github.com/repos/mcarmonaa/documentation/events","assignees_url":"https://api.github.com/repos/mcarmonaa/documentation/assignees{/user}","branches_url":"https://api.github.com/repos/mcarmonaa/documentation/branches{/branch}","tags_url":"https://api.github.com/repos/mcarmonaa/documentation/tags","blobs_url":"https://api.github.com/repos/mcarmonaa/documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mcarmonaa/documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mcarmonaa/documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/mcarmonaa/documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mcarmonaa/documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/mcarmonaa/documentation/languages","stargazers_url":"https://api.github.com/repos/mcarmonaa/documentation/stargazers","contributors_url":"https://api.github.com/repos/mcarmonaa/documentation/contributors","subscribers_url":"https://api.github.com/repos/mcarmonaa/documentation/subscribers","subscription_url":"https://api.github.com/repos/mcarmonaa/documentation/subscription","commits_url":"https://api.github.com/repos/mcarmonaa/documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/mcarmonaa/documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/mcarmonaa/documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/mcarmonaa/documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/mcarmonaa/documentation/contents/{+path}","compare_url":"https://api.github.com/repos/mcarmonaa/documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mcarmonaa/documentation/merges","archive_url":"https://api.github.com/repos/mcarmonaa/documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mcarmonaa/documentation/downloads","issues_url":"https://api.github.com/repos/mcarmonaa/documentation/issues{/number}","pulls_url":"https://api.github.com/repos/mcarmonaa/documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/mcarmonaa/documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/mcarmonaa/documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mcarmonaa/documentation/labels{/name}","releases_url":"https://api.github.com/repos/mcarmonaa/documentation/releases{/id}","deployments_url":"https://api.github.com/repos/mcarmonaa/documentation/deployments","created_at":"2017-07-12T13:37:42Z","updated_at":"2017-07-12T13:37:44Z","pushed_at":"2017-07-12T14:19:36Z","git_url":"git://github.com/mcarmonaa/documentation.git","ssh_url":"git@github.com:mcarmonaa/documentation.git","clone_url":"https://github.com/mcarmonaa/documentation.git","svn_url":"https://github.com/mcarmonaa/documentation","homepage":"https://doc.bblf.sh","size":90,"stargazers_count":0,"watchers_count":0,"language":"Makefile","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bblfsh:master","ref":"master","sha":"527daf4476c2da98c49ede253be5542a863a9401","user":{"login":"bblfsh","id":25795418,"avatar_url":"https://avatars3.githubusercontent.com/u/25795418?v=3","gravatar_id":"","url":"https://api.github.com/users/bblfsh","html_url":"https://github.com/bblfsh","followers_url":"https://api.github.com/users/bblfsh/followers","following_url":"https://api.github.com/users/bblfsh/following{/other_user}","gists_url":"https://api.github.com/users/bblfsh/gists{/gist_id}","starred_url":"https://api.github.com/users/bblfsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bblfsh/subscriptions","organizations_url":"https://api.github.com/users/bblfsh/orgs","repos_url":"https://api.github.com/users/bblfsh/repos","events_url":"https://api.github.com/users/bblfsh/events{/privacy}","received_events_url":"https://api.github.com/users/bblfsh/received_events","type":"Organization","site_admin":false},"repo":{"id":83300077,"name":"documentation","full_name":"bblfsh/documentation","owner":{"login":"bblfsh","id":25795418,"avatar_url":"https://avatars3.githubusercontent.com/u/25795418?v=3","gravatar_id":"","url":"https://api.github.com/users/bblfsh","html_url":"https://github.com/bblfsh","followers_url":"https://api.github.com/users/bblfsh/followers","following_url":"https://api.github.com/users/bblfsh/following{/other_user}","gists_url":"https://api.github.com/users/bblfsh/gists{/gist_id}","starred_url":"https://api.github.com/users/bblfsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bblfsh/subscriptions","organizations_url":"https://api.github.com/users/bblfsh/orgs","repos_url":"https://api.github.com/users/bblfsh/repos","events_url":"https://api.github.com/users/bblfsh/events{/privacy}","received_events_url":"https://api.github.com/users/bblfsh/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bblfsh/documentation","description":"Babelfish documentation (gitbook sources)","fork":false,"url":"https://api.github.com/repos/bblfsh/documentation","forks_url":"https://api.github.com/repos/bblfsh/documentation/forks","keys_url":"https://api.github.com/repos/bblfsh/documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bblfsh/documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bblfsh/documentation/teams","hooks_url":"https://api.github.com/repos/bblfsh/documentation/hooks","issue_events_url":"https://api.github.com/repos/bblfsh/documentation/issues/events{/number}","events_url":"https://api.github.com/repos/bblfsh/documentation/events","assignees_url":"https://api.github.com/repos/bblfsh/documentation/assignees{/user}","branches_url":"https://api.github.com/repos/bblfsh/documentation/branches{/branch}","tags_url":"https://api.github.com/repos/bblfsh/documentation/tags","blobs_url":"https://api.github.com/repos/bblfsh/documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bblfsh/documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bblfsh/documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/bblfsh/documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bblfsh/documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/bblfsh/documentation/languages","stargazers_url":"https://api.github.com/repos/bblfsh/documentation/stargazers","contributors_url":"https://api.github.com/repos/bblfsh/documentation/contributors","subscribers_url":"https://api.github.com/repos/bblfsh/documentation/subscribers","subscription_url":"https://api.github.com/repos/bblfsh/documentation/subscription","commits_url":"https://api.github.com/repos/bblfsh/documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/bblfsh/documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/bblfsh/documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/bblfsh/documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/bblfsh/documentation/contents/{+path}","compare_url":"https://api.github.com/repos/bblfsh/documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bblfsh/documentation/merges","archive_url":"https://api.github.com/repos/bblfsh/documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bblfsh/documentation/downloads","issues_url":"https://api.github.com/repos/bblfsh/documentation/issues{/number}","pulls_url":"https://api.github.com/repos/bblfsh/documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/bblfsh/documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/bblfsh/documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bblfsh/documentation/labels{/name}","releases_url":"https://api.github.com/repos/bblfsh/documentation/releases{/id}","deployments_url":"https://api.github.com/repos/bblfsh/documentation/deployments","created_at":"2017-02-27T10:54:12Z","updated_at":"2017-06-22T13:58:40Z","pushed_at":"2017-07-12T14:21:29Z","git_url":"git://github.com/bblfsh/documentation.git","ssh_url":"git@github.com:bblfsh/documentation.git","clone_url":"https://github.com/bblfsh/documentation.git","svn_url":"https://github.com/bblfsh/documentation","homepage":"https://doc.bblf.sh","size":90,"stargazers_count":5,"watchers_count":5,"language":"Makefile","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":9,"forks":10,"open_issues":9,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bblfsh/documentation/pulls/61"},"html":{"href":"https://github.com/bblfsh/documentation/pull/61"},"issue":{"href":"https://api.github.com/repos/bblfsh/documentation/issues/61"},"comments":{"href":"https://api.github.com/repos/bblfsh/documentation/issues/61/comments"},"review_comments":{"href":"https://api.github.com/repos/bblfsh/documentation/pulls/61/comments"},"review_comment":{"href":"https://api.github.com/repos/bblfsh/documentation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bblfsh/documentation/pulls/61/commits"},"statuses":{"href":"https://api.github.com/repos/bblfsh/documentation/statuses/3d090f47841a2270d6dbd57747844b5a9ea47552"}}}}
{"actor":{"display_login":"juanjux"}}