Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Struggling to get demo container functioning #5

Closed
rhastie opened this issue Oct 15, 2021 · 3 comments
Closed

Struggling to get demo container functioning #5

rhastie opened this issue Oct 15, 2021 · 3 comments

Comments

@rhastie
Copy link

rhastie commented Oct 15, 2021

Sorry for the complete newbie question but I'm really struggling to get the demonstration container to run...

I have a Ubuntu 20.04 env with latest docker installed... I am running Ubuntu with no X11 operating on the host - so hopefully no port conflicts etc.

When I run the docker run command I just get a repeating error:

screen 0 shmid 0
/entrypoint.sh: 2: [[: not found
error repeats....

I have also tried running the container with --user root but again to no avail...

I'm guessing I'm being a complete idiot but any pointers would be gratefully appreciated... Thanks

@rhastie
Copy link
Author

rhastie commented Oct 19, 2021

Small step forward in terms of running this container...

You need to add "#!/bin/bash" to the beginning of your entrypoint.sh script... This is causing the above error and issue

Without that shebang line, your script will be interpreted by sh which doesn't understand [[ in the until statement.

Still having issues connecting to the WebRTC stream but currently trying to debug that - Just getting "Connection error, retry in 3 seconds." Any thoughts or ideas?

@danisla
Copy link
Member

danisla commented Oct 31, 2021

@rhastie Thanks for the heads up on this. It should be fixed with this commit.

The connection error is an issue with forcing wss:// rather than detecting the protocol in JS. The fix for that is also on master now.

@danisla
Copy link
Member

danisla commented Nov 10, 2021

I'm gonna close this now, please re-open if you are still having trouble.

@danisla danisla closed this as completed Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants