Can't start with Docker - STARDOG_HOME not writeable by the current user

Hi there,

trying to get Stardog free started on Ubuntu & Docker.

  • following the instructions: Use Docker | Stardog Documentation Latest
  • Pulling the container
  • saving the license key into /home/USER/stardog-home/stardog-license-key.bin
  • using the command from the instructions, adding sudo:
    sudo docker run -it -v ~/stardog-home/:/var/opt/stardog -p 5820:5820 stardog/stardog

Result:
STARDOG_HOME '/var/opt/stardog/' is not writeable by the current user

I'm missing a point, but which one?

Whole system is updated as normal, current versions.
Regards

Hi,

Essentially ~/stardog-home needs to be writable by the stardog user that the docker image will use. Offhand I can't find the UID but I want to say it's 1000 or 1001. If you can't change the permissions on the host system, you could also add -u root to run the docker container as root (instead of running via sudo)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.