Skip to content

dhlab-basel/docker-graphdb-free

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

GraphDB-Free Image


This repository contains a Dockerfile for building an image with the latest version of GraphDB-SE 8 supported by Knora.

GraphDB-Free is the Free Edition of the triplestore from Ontotext (http://ontotext.com). GraphDB-Free must be licensed separately by the user, by registering with Ontotext, i.e. fill out the form for downloading the free edition.

Image tags


Usage


Docker Hub

$ docker run --rm -it -p 7200:7200 dhlabbasel/graphdb-free

Local Build

Checkout this repository and then run:

$ docker build -t graphdb .
$ docker run --rm -it -p 7200:7200 graphdb

Do not forget the '.' in the first command.

  • --rm removes the container as soon as you stop it
  • -p forwards the exposed port to your host (or if you use boot2docker to this IP)
  • -it allows interactive mode, so you see if something get's deployed

After the GraphDB inside the docker container has started, you can find the GraphDB workbench here: http://localhost:7200

Above, we create and start a transient container (--rm flag). To create a container that we can stop and start again at a later time, follow the following steps:

  $ docker build -t graphdb <path-to-dockerfile>
  $ docker run --name graphdb -d -p 7200:7200 graphdb
  
  (to see the console output, attach to the container; to detach press Ctrl-c)
  $ docker attach graphdb
    
  (to stop the container)
  $ docker stop graphdb
  
  (to start the container again)
  $ docker start graphdb
  
  (to remove the container; needs to be stopped)
  $ docker rm graphdb
  • --name give the container a name
  • -d run container in background and print container ID
  • -t allocate a pseudo TTY, so you see the console output
  • -p forwards the exposed port to your host

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published