Closed sinablk closed 5 years ago
Could you run destroy.sh and run.sh consecutively? Perhaps you could modify the run.sh file to have the full image name as in your self run command ricklamers/gridstudio:release
.
Haven't worked with Docker Toolbox so I'm not really familiar with the differences. When you run your own command that seems to run the server you're not forwarding the ports so that's why it's failing.
Well, the main problem was finding out to which ports it was actually forwarding. I executed docker run -d -p 8080 ricklamers/gridstudio:release
and used Kitematic (which comes with Docker Toolbox) to look at my active containers. I used the Web Preview tab to open the app:
This opens up 192.168.99.100
with a random port and takes me to the admin page. I can successfully login to the dashboard, but as soon as I create or open a workspace, it gives me this error:
Here's output from docker container ls
:
Checking the logs, you can see there's a runtime error
:
In the run.sh the Docker command shows the flag -p 8080:8080 -p 4430:4430 for port forwarding. That should also work in your case.
Yup, that does work and forwards to port 8080. But I still get the "Lost connection to server. Redirect to dashboard?" error after opening workspace. Even when I hit "Cancel", I still cannot operate the sheet, interpreter, terminal, or anything.
It disconnects if it cannot establish a connection to the websocket server on port 4430. It appears this connection can still not be made in your setup.
Docker Toolbox is not intended to be supported - i.e. feel free to try and make it work but I'm not able to give you support on how to make it work.
hello, you may try to use "docker run --name=gridstudio --rm=false -p 8080:8080 -p 4430:4430 ricklamers/gridstudio:release" to run the gridsutdio.
@nanayuri your answer actually helps! Thank you so much
I successfully downloaded the docker image and it shows in
docker images
. But I get the following error after./run.sh
on Git Bash for Win7 running Docker Toolbox:I can run the container using
docker run ricklamers/gridstudio:release
which gives the following output (same asdocker logs <CONTAINER>
:Since I'm running Docker Toolbox, my default IP is
192.168.99.100
, but I get a "Unable to connect" error when visiting http://192.168.99.100:8080.And here's the output from
docker container ls
:Also, the folder is located in
C:\Users\sina\repos\gridstudio
.