Closed
Description
I'm working with https://hub.docker.com/_/redmine images.
docker pull redmine:5.0.1
Unfortunately, this image doesn't work with the following error. Viewing the error: docker logs <container_name>
Your Gemfile lists the gem puma (>= 0) more than once.
You should probably keep only one of them.
Remove any duplicate entries and specify the gem only once.
While it's not a problem now, it could cause errors if you change the version of one of them later.
The Gemfile's dependencies are satisfied
rake aborted!
failed to get urandom
/usr/local/bundle/gems/activesupport-6.1.6/lib/active_support.rb:26:in `require'
/usr/local/bundle/gems/activesupport-6.1.6/lib/active_support.rb:26:in `<top (required)>'
/usr/local/bundle/gems/railties-6.1.6/lib/rails.rb:7:in `require'
/usr/local/bundle/gems/railties-6.1.6/lib/rails.rb:7:in `<top (required)>'
/usr/src/redmine/config/application.rb:5:in `require'
/usr/src/redmine/config/application.rb:5:in `<top (required)>'
<internal:/usr/local/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
<internal:/usr/local/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
/usr/src/redmine/Rakefile:5:in `<top (required)>'
(See full trace by running task with --trace)
Image 5.0.0
has similar problem. Image 4.2.6
with the same container parameters works just fine.
How to fix the problem?