-
Notifications
You must be signed in to change notification settings - Fork 334
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
/usr/local/lib/ruby/3.1.0/securerandom.rb:75:in `urandom': failed to get urandom (RuntimeError) #383
Comments
😬 I can't seem to reproduce: $ docker run -it --rm --pull=always ruby:3.1-slim-bullseye
3.1-slim-bullseye: Pulling from library/ruby
214ca5fb9032: Already exists
78121ab1df60: Pull complete
48fbe7e8745f: Pull complete
6edc84d3fe34: Pull complete
2152ead824bc: Pull complete
Digest: sha256:45bf81172fb1169d5659254601c9608704337592e73b5c3e5bee436deb695f2a
Status: Downloaded newer image for ruby:3.1-slim-bullseye
irb(main):001:0> require 'securerandom'
=> true |
👀 I would hazard a guess that it might have something to do with running on a A newer version of Docker, runc, and/or libseccomp might fix this one, but it could also need a kernel bump. Similar issues: #351 docker-library/php#1192 docker-library/php#1177 |
I had an extremely old kernel, so I decided to switch OS on the host machine. The problem is not relevant to me any longer. |
I'm working with redmine image, which is based on ruby image.
I've posted my problem here docker-library/redmine#264
The image is based on
FROM ruby:3.1-slim-bullseye
, so I've tried to run pure ruby image.The steps to reproduce my problem:
I've also tried images
ruby:3.2-rc-slim
andruby:3.0-slim-bullseye
-- they work OK!But all flavours of 3.1-* seem to be broken.
My host machine is
The text was updated successfully, but these errors were encountered: