-
Notifications
You must be signed in to change notification settings - Fork 11.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"docker compose up" fails #2911
Comments
Are you creating a new site from scratch?
What you mean by so demanding? Long story short, our users were having a huge problem running the template locally on Windows 10+, so we decided to move our recommended approach to using devcontainers, this way it is easier to replicate the correct development environment. The same happens for the Now we are trying to keep things more organized. Every new release we also update the libraries, also the docker image and the docker compose file to point to this new image. This way new users will always have working versions while we can ensure that users that do not update their code frequently with the latest version can also keep it working longer. But we only started doing this very recently. In our CI we don't actually use the docker image we provide. We build the dependencies in the GitHub workflow, but it should work from the docker image also. Are you pointing to the correct image version? |
I am getting a different error, but am basically in the same boat. I am just trying to follow https://github.com/alshedivat/al-folio/blob/main/INSTALL.md As far as I know about docker, it should not need anything more installed on the host system, making this an inconsistency in the pulled docker image. PS: it definitely has to be "docker-compose", not "docker compose" in those commands... EDIT: |
It is failing for me as well. I'm getting the same error as @martingerdes. |
I just issued a new release and with it a new docker image. The tip of our repo had new dependencies that were not included in the v0.13.1. And just saying that here I noticed that I used the wrong version number lol (it should have been 0.14.0 instead of 0.13.2), but that's fine. As soon as this workflow ends we should have a new docker image version (v0.13.2). Try updating your code to the latest release. Also, we recommend using devcontainers with VSCode. It's the easier way to set up your dev environment locally. |
It didn't fix the issue. @pourmand1376 any ideas here? |
Have you checked that your issue isn't already filed?
Bug description
The "recommended Approach" for local development fails
How to reproduce the bug
I am following the instructions under "Recommended Approach" in INSTALL.md but
docker compose up
fails on me.Side-question: I used to just use the system-wide ruby environment and
bundle exec jekyll serve
as described in the jekyll docks. How come this theme became so demanding? (genuine question, not meant as a complaint). Is there a reason to keep theGemfile.lock
around? I noticed that when I deploy on our own gitlab server and build in CI, the build (using the dockre image provided here) fails unless I remove this file from the source first.Error messages and logs
What operating system are you using?
Linux
Where are you seeing the problem on?
Running locally with Docker (docker compose)
More info
This is on debian testing, docker just re-installed from the official repository:
The text was updated successfully, but these errors were encountered: