Sign inSign up

jontutcher/stardog

By jontutcher

•Updated about 9 years ago

This runs Stardog 5 CE in Docker

Image
2

10K+

jontutcher/stardog repository overview

⁠Docker-Stardog

This runs Stardog 5 CE⁠ in Docker. It is available on Github here: https://github.com/jontutcher/stardog-docker⁠

This image can be built either with or without a stardog license key 'baked in'. The image on Docker Hub (obviously) does not have a license key included, and one must be included in a stardog data volume that is attached to a running container at /stardog.

⁠To Build

  1. Download Stardog, place in new resources directory
    • To build with a license key baked in, add stardog-license-key.bin to this directory too
  2. docker build --tag stardog:latest .

⁠To Run

Note: If you get java segfault errors on run, try giving Docker more RAM (more here⁠).

docker run \
    -d -p 5820:5820 \
    --name stardog_db \
    -v [your local stardog data directory]:/stardog \
    stardog:latest

The /stardog volume is where Stardog persists its database, and where the license key must reside. If you're using an image with the license key baked in, you don't need to attach this volume - but you'll lose data with the image if you delete it!

Tag summary

Content type

Image

Digest

Size

538.3 MB

Last updated

about 9 years ago

docker pull jontutcher/stardog