carpentries-incubator / docker-introduction

Reproducible Computational Environments using Containers
https://carpentries-incubator.github.io/docker-introduction/
Other
42 stars 48 forks source link

Error when trying to run the jekyll container for the "Using Docker with Jekyll" lesson #216

Open krishnakumarg1984 opened 1 month ago

krishnakumarg1984 commented 1 month ago

In the lesson on Using Docker with Jekyll - Containers Used in Generating this Lesson, the command invocation given in the text of the lesson does not work and produces the following error:

$ docker container run --rm -it --mount type=bind,source=${PWD},target=/srv/jekyll -p 127.0.0.1:4000:4000 jekyll/jekyll:3 jekyll serve

-------------prior output intentionally truncated for this Github Issue ----------------------
322c093d5418: Pull complete
Digest: sha256:9521c8aae4739fcbc7137ead19f91841b833d671542f13e91ca40280e88d6e34
Status: Downloaded newer image for jekyll/jekyll:3

Installing jekyll-theme-time-machine 0.2.0
Fetching github-pages 231
Installing github-pages 231
There was an error while trying to write to `/srv/jekyll/Gemfile.lock`. It is likely that you need to grant write permissions for that path.

ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-linux-musl]
Configuration file: none
            Source: /srv/jekyll
       Destination: /srv/jekyll/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
jekyll 3.8.6 | Error:  No such file or directory @ rb_sysopen - /srv/jekyll/miniforge3/pkgs/python-3.10.14-hd12c33a_0_cpython/compiler_compat/ld
aturner-epcc commented 1 week ago

This example will not continue to work once the update to Carpentries Workbench format is merged so will need revised anyway