Public | Automated Build

Last pushed: 3 months ago
Short Description
Full Description

BlazeGraph 2.1.4 + Java 8 (1.8.0_172) JDK + Maven 3.5 + Python 3.5


  • BlazeGraph 2.1.4 service will be running at http://<server_ip:9999>/
  • java version "1.8.0_172"
    Java(TM) SE Runtime Environment (build 1.8.0_172-b11)
    Java HotSpot(TM) 64-Bit Server VM (build 25.172-b11, mixed mode)
  • Apache Maven 3.5.3
  • Python 3.5.2
  • Other tools: git wget unzip vim python python-setuptools python-dev python-numpy

Run (recommended for easy-start)

Image is pulling from openkbs/netbeans


A successfully starting of BlazeGraph will have the following message displayed (IP address below will be different):

Welcome to the Blazegraph(tm) Database.
Go to to get started.


You can build your own image locally.


Build / Run your own image

Say, you will build the image "my/blazegraph".

docker build -t my/blazegraph .

To run your own image, say, with some-blazegraph:

mkdir ./data
docker run -d --name some-blazegraph -v $PWD/data:/data -i -t my/blazegraph

Shell into the Docker instance

docker exec -it some-blazegraph /bin/bash

Run Blazegraph web, sparql, REST

For more information, please visit:

Web UI:

Web UI: http://<ip_address>:9999/

For SPARQL Endpoint, see more at

SPARQL UI: http://<ip_address>:9999/bigdata

(Optional Use) Run Python code

To run Python code

docker run --rm openkbs/blazegraph python -c 'print("Hello World")'


mkdir ./data
echo "print('Hello World')" > ./data/
docker run -it --rm --name some-blazegraph -v "$PWD"/data:/data openkbs/blazegraph python


alias dpy='docker run --rm openkbs/blazegraph python'
dpy -c 'print("Hello World")'

(Optional Use) Compile or Run java while no local installation needed

Remember, the default working directory, /data, inside the docker container -- treat is as "/".
So, if you create subdirectory, "./data/workspace", in the host machine and
the docker container will have it as "/data/workspace".

#!/bin/bash -x
mkdir ./data
cat >./data/ <<-EOF
public class HelloWorld {
   public static void main(String[] args) {
      System.out.println("Hello, World");
cat ./data/
alias djavac='docker run -it --rm --name some-jre-mvn-py3 -v '$PWD'/data:/data openkbs/jre-mvn-py3 javac'
alias djava='docker run -it --rm --name some-jre-mvn-py3 -v '$PWD'/data:/data openkbs/jre-mvn-py3 java'

djava HelloWorld

And, the output:

Hello, World

Hence, the alias above, "djavac" and "djava" is your docker-based "javac" and "java" commands and
it will work the same way as your local installed Java's "javac" and "java" commands.


Docker Pull Command
Source Repository