In order to publish this blog, I use Github pages feature, which advices to try and use Jekyll. So my first choice was to run a container. As the Readme suggested I ran:
export JEKYLL_VERSION=3.8
podman run --volume="$PWD:/srv/jekyll:Z" --publish 127.0.0.1:4000:4000 jekyll/jekyll jekyll serve
But wa told to change the permissions:
chmod a+rw $PWD/Gemfile.lock
Only to arrive at:
/usr/gem/gems/jekyll-4.2.2/lib/jekyll/commands/serve/servlet.rb:3:in `require': cannot load such file -- webrick (LoadError)
which leads to running “bundle add webrick” in the container.
$ podman run --volume="$PWD:/srv/jekyll:Z" --publish 127.0.0.1:4000:4000 jekyll/jekyll bundle add webrick
which leads to allowing access to the Gemfile:
chmod a+rw $PWD/Gemfile
but then it all worked:
podman run --volume="$PWD:/srv/jekyll:Z" --publish 127.0.0.1:4000:4000 jekyll/jekyll jekyll serve