
This Docker image extende https://hub.docker.com/r/jekyll/jekyll/ to use ImageMagick6 instead of ImageMagick7.
Build the image with
docker build . -t dgraziotin/jekyll-imagemagick6:stable
You can target any Jekyll version https://hub.docker.com/r/jekyll/jekyll/tags, just replace the instances of the word
stablein the Dockerfile and the build command with the tag of interest.)
Instead of building the image, you can pull it from the Docker Hub registry.
docker pull dgraziotin/jekyll-imagemagick6:stable
Run your new image with the following command:
/usr/bin/env docker run --rm \ --volume="$PWD:/srv/jekyll" \ -it dgraziotin/jekyll-imagemagick6:stable \ jekyll build
And that is it! You can serve your Jekyll site locally with:
/usr/bin/env docker run --rm \ --volume="$PWD:/srv/jekyll" \ -p 4000:4000 \ -it dgraziotin/jekyll-imagemagick6:stable \ jekyll serve
The site will be reachable at [***]
The container will behave the same as https://github.com/envygeeks/jekyll-docker/blob/master/README.md. Head there to learn more.
If you are using Jekyll under macOS, several issues might be happening right now:
Issues 2 and 3 might even happen if you are using GNU/Linux, by the way.
After several downgrade and upgrade tries, I got sick of trying to brew and rvm the issue. I moved to docker for this, too.
Luckily, there is https://github.com/envygeeks/jekyll-docker/blob/master/README.md for this. This is a wonderful image. It even allows you to add Alpine Linux packages to it by specifying their name in a .apk file. This fixes issue 1 and issue 2.
Unfortunately, jekyll-docker does not fix issue 3, because it https://github.com/envygeeks/jekyll-docker/blob/master/repos/jekyll/Dockerfile#L82. Using it as-is will result in the following error:
ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-linux-musl] Configuration file: /srv/jekyll/_config.yml Theme Config file: /usr/gem/gems/no-style-please-0.1.0/_config.yml Source: /srv/jekyll Destination: /srv/jekyll/_site Incremental build: disabled. Enable with --incremental Generating... Jekyll Feed: Generating feed for posts Liquid Exception: NoDecodeDelegateForThisImageFormat `JPEG' @ error/constitute.c/ReadImage/562 in /srv/jekyll/_posts/2011-04-10-contributing-on-arora-browser-quickview-mode.md ------------------------------------------------ Jekyll 4.1.1 Please append `--trace` to the `build` command for any additional information or backtrace. ------------------------------------------------ Traceback (most recent call last): [...] /usr/gem/gems/jekyll-responsive-image-1.5.5/lib/jekyll-responsive-image/image_processor.rb:12:in `read': NoDecodeDelegateForThisImageFormat `JPEG' @ error/constitute.c/ReadImage/562 (Magick::ImageMagickError)
This image will revert to ImageMagick6 and fix the issues.
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。





探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
无需登录使用专属域名
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
Harbor Proxy Repository 对接专属域名
Portainer Registries 加速拉取
Nexus3 Docker Proxy 内网缓存
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
docker search 限制
站内搜不到镜像
离线 save/load
插件要用 plugin install
WSL 拉取慢
安全与 digest
新手拉取配置
镜像合规机制
manifest unknown
no matching manifest(架构)
invalid tar header(解压)
TLS 证书失败
DNS 超时
域名连通性排查
410 Gone 排查
402 与流量用尽
401 认证失败
429 限流
D-Bus 凭证提示
413 与超大单层
来自真实用户的反馈,见证轩辕镜像的优质服务