This repository was archived by the owner on Nov 19, 2024. It is now read-only.
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
Container started using Docker Compose terminates with unexpected error #8370
Closed
Description
Bug report
Description
When using docker-compose up
the container is terminated with the error below.
jekyll_1 | /usr/local/lib/ruby/site_ruby/2.7.0/rubygems.rb:277:in `find_spec_for_exe': Could not find 'bundler' (1.17.3) required by your /srv/jekyll/Gemfile.lock. (Gem::GemNotFoundException)
jekyll_1 | To update to the latest version installed on your system, run `bundle update --bundler`.
jekyll_1 | To install the missing version, run `gem install bundler:1.17.3`
jekyll_1 | from /usr/local/lib/ruby/site_ruby/2.7.0/rubygems.rb:296:in `activate_bin_path'
jekyll_1 | from /usr/local/bin/bundle:23:in `<main>'
Steps to reproduce
- Clone the repository
- Run
docker-compose up
Expected result
Container is started without any issues.
Possible solutions
Use jekyll/jekyll:3
as the Docker image in the Docker Compose configuration.