envygeeks / jekyll-docker

⛴ Docker images, and CI builders for Jekyll.
ISC License
998 stars 281 forks source link

Unable to launch container #337

Open TaylorHuston opened 2 years ago

TaylorHuston commented 2 years ago

The following comment has been working fine to launch my container for some time, stopped working within the last week.

$ docker run --rm --volume="$PWD:/srv/jekyll" -p 4000:4000 -it jekyll/jekyll jekyll serve

Output:

Bundler 2.3.11 is running, but your lockfile was generated with 2.2.14. Installing Bundler 2.2.14 and restarting using that version. Fetching gem metadata from https://rubygems.org/. Fetching bundler 2.2.14 Installing bundler 2.2.14 Fetching gem metadata from https://rubygems.org/......... nokogiri-1.11.2-x86_64-linux requires ruby version < 3.1.dev, >= 2.5, which is incompatible with the current version, ruby 3.1.1p18

alexellis commented 2 years ago

I'm getting a very similar error, ironically with the image tag stable.

What is the resolution?

isabryant commented 2 years ago

Same issue here

fullbright commented 2 years ago

Same issue here

jomivz commented 1 month ago

I had the same issue with the latest version.

As workaround, you can specify the tag of the previous image:

docker run --rm --volume="$PWD:/srv/jekyll" -p 4000:4000 -it jekyll/jekyll:4.2.0 jekyll serve