Skip to content

Latest commit

 

History

History
52 lines (31 loc) · 1.01 KB

README.md

File metadata and controls

52 lines (31 loc) · 1.01 KB

BryanKnox's GitHub Pages

Testing in LocalHost

Uses the official Jekyll Docker Image (jekyll/jekyll) and Docker Compose.

Serve Jekyll site

docker-compose up

That will start the docker-container and run Jekyll. Folders and ports are mapped and the homepage can be browsed to at:

http://localhost:4000/

Added or changed files will be automatically served.

Stop Serving Jekyll site

Ctrl+C in the terminal will stop the Jekyll server.

Clean up

docker-compose down

That will remove the docker-container.

Remove Image

docker image rm jekyll/jekyll

In more complex Docker environments do the following.

docker image ls jekyll/jekyll

That will list all of the docker images on the local machine. Grab the jekyll/jekyll image Id and use it in the following command.

docker image rm imageId

Publishing Changes

Changes pushed to the repo's main branch are automatically published by GitHub.