streetscape.gl
streetscape.gl copied to clipboard
How to access web view with Docker
Hi, I am trying to run the getting started examples from xviz and streetscape with two dockers. So far I have first run everything on my own pc to make sure that everything works. Then I have created docker container for xviz and ran it and visualize it with my local streetscape.gl web view through localhost:8080 (I have run "streetscape.gl/examples/get-started$ yarn start-streaming" and it works. However when I create a docker container for streetscape.gl as well and run the same code localhost:8080 says "localhost didn’t send any data." I have published the port 8080 when running the docker with the code
"docker run -it -p 8080:8080 streetscapegl-master_streetscape /bin/bash" then when docker started I have done "/streetscape# cd examples/get-started/" and then "yarn start-streaming"
When I do this it does not pop-up the localhost:8080 like it normally do and when I manually go to localhost:8080 on my browser it says "localhost didn’t send any data." (it does not say localhost:8080 refused to connect" so there is a connection but not any data)
I have tried --publish-all command as well as --network="host" command during the docker run command but none of them worked. Anybody have any idea what am I doing wrong?
@Orkunkizilirmak Do you solve this problem?