Link Search Menu Expand Document
Start for Free

Dockerized Application Access

This page discusses accessing and using Stardog applications in your browser from a Docker container.

Page Contents
  1. Stardog Explorer
    1. Upgrading Explorer via Docker
  2. Stardog Designer
  3. Stardog Studio
    1. Upgrading Studio via Docker

Dockerized Stardog Application access is only available upon request and is not included in any Stardog trial or free offering.

Stardog Explorer

Once you have the docker image for Explorer you would like to run.

  1. From the parent folder containing the docker image, enter

    docker run --name=stardog-explorer -p 8888:8080 -d stardog/stardog-explorer:current
    
    • Note the first number, the one before the : in the -p 8888:8080 argument, is the port Explorer will run on locally. This can be any port number you choose, but note that in later steps, we’re assuming 8888
    • The --name=stardog-explorer argument names the container as “stardog-explorer” so that you can easily reference it later; you could choose another name here, if you’d like.
  2. When the command in step 1 completes successfully, you should see a long string ID printed out in the terminal – this is the ID of the running Docker container; you can ignore it for present purposes. You can now access Explorer in your browser by going to http://localhost:8888, again, substituting whatever port number you chose.

At this point, you can stop and start the container whenever you need it, running docker stop stardog-explorer and docker start stardog-explorer, respectively (using whatever name you provided in step 1, above). The Docker Daemon and the Explorer container must be running to access Explorer. If Explorer is not accessible please remember to start Docker, as it may not start automatically on startup.

Upgrading Explorer via Docker

To upgrade the dockerized version of Stardog Explorer running via Docker, simply open a terminal and run:

docker stop stardog-explorer && docker rm stardog-explorer

Again, using whatever name you provided in step 1, above. Then, repeat steps 1 and 2, above.

Stardog Designer

Stardog Designer is only available with a Stardog Cloud Account at cloud.stardog.com or through Stardog Launchpad.

Stardog Studio

Once you have the docker image for Studio you would like to run.

  1. From the parent folder containing the docker image, enter

    docker run --name=stardog-studio -p 8888:8080 -d stardog/stardog-studio:current
    
    • Note the first number, the one before the : in the -p 8888:8080 argument, is the port Studio will run on locally. This can be any port number you choose, but note that in later steps, we’re assuming 8888
    • The --name=stardog-studio argument names the container as “stardog-studio” so that you can easily reference it later; you could choose another name here, if you’d like.
  2. When the command in step 1 completes successfully, you should see a long string ID printed out in the terminal – this is the ID of the running Docker container; you can ignore it for present purposes. You can now access Studio in your browser by going to http://localhost:8888, again, substituting whatever port number you chose.

At this point, you can stop and start the container whenever you need it, running docker stop stardog-studio and docker start stardog-studio, respectively (using whatever name you provided in step 3, above). The Docker Daemon and the Studio container must be running to access in-browser Studio. If Studio is not accessible please remember to start Docker, as it may not start automatically on startup.

Upgrading Studio via Docker

To upgrade the dockerized version of Stardog Studio running via Docker, simply open a terminal and run:

docker stop stardog-studio && docker rm stardog-studio

Again, using whatever name you provided in step 1, above. Then, repeat steps 1 and 2, above.