Code Monkey home page Code Monkey logo

Comments (3)

alexohneander avatar alexohneander commented on May 25, 2024

@avivasyuta can you tell me which image you are using?

from jekyll.

avivasyuta avatar avivasyuta commented on May 25, 2024

I use jekyll/jekyll:4.2.2.

Here is my make script

JEKYLL_VERSION=4.2.2

serve:
	docker run --rm \
	  --volume=$(PWD):/srv/jekyll \
	  -p 4000:4000 \
	  -it jekyll/jekyll:$(JEKYLL_VERSION) \
	  jekyll serve --livereload

from jekyll.

mkasberg avatar mkasberg commented on May 25, 2024

The warning you're seeing is caused by running an amd64 Docker image on an M1 mac (or other ARM device) and is unrelated to your permission denied errors. You can add some options to your Docker command to make the warning go away if desired, but the warning isn't actually causing any problems.

The real problem is chown: _site/feed.xml: Permission denied. A filesystem permissions issue related to different user IDs (different owners) between the Docker container and your host machine. Possibly a new UID on your new M3 machine? Usage of JEKYLL_UID and JEKYLL_GID is documented in the jekyll-docker README.

Docker entrypoint chown

In short, this isn't a bug with Jekyll, and I think you can fix the problem with JEKYLL_UID (or perhaps just remove the _site dir on the host machine and allow it to be regenerated).

from jekyll.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.