-
Notifications
You must be signed in to change notification settings - Fork 3
Windows 10 Notes
Philip Colmer edited this page Aug 1, 2019
·
13 revisions
This is for guidance/information only. Limited to no support can be provided if you encounter problems trying to use this container under Windows 10.
There are, potentially, two ways to use the container: run it directly under Windows or run it under WSL (Windows Subsystem for Linux).
Running the container under Windows is, actually, the more straightforward option but you need to explicitly set the staging/production environment as desired, e.g.:
docker run --rm -it -p 4000:4000 -e JEKYLL_ENV="staging" -v ${pwd}:/srv/source linaroits/jekyllsitebuild:latest build-site.sh
If you want to test your own variant of the build container, replace latest with your own container's tag.
If you want to build and serve the site, change the docker run command to this:
docker run --rm -it -p 4000:4000 -e JEKYLL_ENV="staging" -e JEKYLL_ACTION="serve" -v ${pwd}:/srv/source linaroits/jekyllsitebuild:latest build-site.sh