Trial license for win 10 and docker

I'm trying to run stardog7 on my windows 10 via docker. How to get a trial 60 days license?
I see the message in container logs "whould you like to download a trial license? y/N", but I dont get this message in my command line while runnin stardog.

I’m still getting familiar with the new process but are you having problems running Stardog? I think Stardog will automatically request a trial license when it starts and detects that there is no license present which is why you see it in the logs but weren’t prompted for it.

If there is no terminal attached to the docker process, it makes sense that the message would show up in the logs with no further action. Try executing docker run with the -it flags to attach a STDIN to it. If that doesn't work, you can always run stardog-admin license request --stardog-home /var/opt/stardog on the container.

I'm new with docker for windows, so maybe it's my fault, but...
Im trying:
docker run stardog/stardog -it
and see:
A valid Stardog license was not found. Please download a trial license or visit https://stardog.com for more information.

When I try to call stardog-admin in any manner, I get messages like stardog admin is not a command

If I run Stardog from Kitematik, it looks like runnig properly, but I cant do anything (call stardog-admin, create db, run query) and connection from stardog studio doesn't work, so I have no channels for communication with stardog server.

When you say you see that error where are you seeing it?

Just to double check, you're running stardog-admin with the dash? What do you get when you run which stardog-admin?

You can try running it with the full path /opt/stardog/bin/stardog-admin (I'm not sure if that's the correct path so adjust accordingly)

I'm not familiar with Kitematik. When you say you can't do anything what exactly can't you do? Do you get an error or something else? Or are you saying you can't connect to the Stardog running in docker from the host machine? What docker command are you using to run Stardog when you say you can't connect to it?

I do all this commands in the standard windows prompt (CMD).
I tried to run
stardog-admin
docker stardog-admin
and same with path '/opt/stardog/bin/'.
This path is correct, I've checked.

Actually i'm going to give up. Looks like Stardog 7 doesnt work on Windows 10.

I know it can be frustrating but if you want to stick with it I'm sure we can help you through it. I haven't had a chance to try running the new Stardog 7 under windows so this is new to me as well.

I've come across the same issue. Downloaded the latest stardog docker image, run it and get:

$ docker run -v ~/stardog-home/:/var/opt/stardog stardog/stardog
A valid Stardog license was not found. Please download a trial license or visit https://stardog.com for more information.

With no interactive terminal to request trial license.

I run the container interactively and run the command manually. It now fails because it's unable to send the email:

$ docker run -it --entrypoint "/bin/bash" -v ~/stardog-home:/var/opt/stardog stardog/stardog -i
[root@671c08d6a488 /]# /opt/stardog/bin/stardog-admin server start
Thank you for downloading Stardog.
A valid license was not found in /var/opt/stardog.
Would you like to download a trial license from Stardog (y/N)? y
Contacting Stardog.............
Please provide an email address to receive a 60-day trial (we may occasionally contact you with fun Stardog news):  xxx
Requesting license..................
Email address "xxx" is undeliverable. Please provide a valid email address: 

Any idea how I'm supposed to do this?
Thanks

I'm assuming the xxx is just obscuring the real email address. You might want to try adding --net=host to your docker command

2 Likes

Good spot!
Suggest you update your Quick Start Guide so it's clear to others. https://www.stardog.com/docs/#_quick_start_guide

Thanks for your help

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