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

Docker container based on official image blocks during startup in VMs #467

Open
marthjod opened this issue May 1, 2018 · 2 comments
Open

Comments

@marthjod
Copy link

marthjod commented May 1, 2018

The Docker image on https://hub.docker.com/r/spreed/webrtc/ still contains the entrypoint script using /dev/random (172ac70), causing containers to block forever during startup in environments lacking randomness (VMs, for instance).

Reproduce:

docker run -d ... spreed/webrtc
...
Creating new server secrets ...
# (blocking)
@buddhikajay
Copy link

Might be an issue because of lack of entropy to generate secrets. Try following

  1. install rng-tools (apt-get install rng-tools on ubuntu/debian)
  2. sudo rngd -r /dev/urandom

then try to run the docker command

@marthjod
Copy link
Author

marthjod commented Jun 3, 2018

You're right, but that wasn't my point (plus I don't want to install additional packages in the VM just because a Docker container misbehaves). My request was to update the Docker hub image so it reflects the current (and working) code base.

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