{"id":31580595,"url":"https://github.com/peteretelej/jekyll-container","last_synced_at":"2025-10-05T21:15:28.175Z","repository":{"id":45725417,"uuid":"42316160","full_name":"peteretelej/jekyll-container","owner":"peteretelej","description":"Jekyll Docker container for Github Pages","archived":false,"fork":false,"pushed_at":"2018-03-26T08:14:54.000Z","size":100,"stargazers_count":11,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-22T01:37:33.987Z","etag":null,"topics":["docker","github-pages-container","githubpages","jekyll","jekyll-container","ruby"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/peteretelej.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-11T15:22:28.000Z","updated_at":"2022-12-09T15:26:34.000Z","dependencies_parsed_at":"2022-09-14T11:41:20.595Z","dependency_job_id":null,"html_url":"https://github.com/peteretelej/jekyll-container","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/peteretelej/jekyll-container","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peteretelej%2Fjekyll-container","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peteretelej%2Fjekyll-container/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peteretelej%2Fjekyll-container/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peteretelej%2Fjekyll-container/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peteretelej","download_url":"https://codeload.github.com/peteretelej/jekyll-container/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peteretelej%2Fjekyll-container/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278520549,"owners_count":26000503,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","github-pages-container","githubpages","jekyll","jekyll-container","ruby"],"created_at":"2025-10-05T21:15:26.929Z","updated_at":"2025-10-05T21:15:28.166Z","avatar_url":"https://github.com/peteretelej.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jekyll Docker Container\n\nAn optimized [jekyll](\"http://jekyllrb.com\") docker image ([etelej/jekyll](https://hub.docker.com/r/etelej/jekyll/)) for building Jekyll containers for Github Pages. **Helpful in developing manually built Jekyll [Github Pages](\"https://pages.github.com\")** without much overhead, or having to install Jekyll's multiple dependencies.\n\n## Creating the [Jekyll container](https://peteretelej.github.io/jekyll-container/): \n\nSimply run this command from **within your githubpages directory**: \n\n```bash\ndocker run --rm -it -p 4000:4000 -v \"$PWD\":/app -w /app etelej/jekyll \n```\n\n### _How it works:_\nThis creates a disposable container (`--rm`), emulates an interactive terminal (`-it`), forwards host's port 4000 to container's port 4000 (`-p 4000:4000 `), maps working directory on host to a read-write volume in container (`-v \"$PWD\":/app`), sets the mapped volume as the working directory (`-w /app`), creates container from the docker [image](https://hub.docker.com/r/etelej/jekyll/) (`etelej/jekyll:latest`) and starts the jekyll server as the main docker process (`bundle exec jekyll serve` defined in Dockerfile).\n\n\n#### Method 2: Compose Usage (using **docker-compose**) \n\nTo use `docker-compose` via the repo's `docker-compose.yml`, edit the `docker-compose.yml` file to replace my jekyll site directory with yours (absolute path preferable):\n\nEdit docker-compose.yml from:\n\n```yml\nvolumes:\n    - /home/chief/workspaces/github.com/peteretelej.github.io:/code\n```\n\nTo:\n\n```yml\nvolumes:\n    - /path/to/your/jekyllsite:/code\n```\n\nRun docker-compose:\n\n```bash\ndocker-compose run --rm jekyll/container\n```\n\n# Building your own jekyll image\n\nBuild your image\n```sh\ndocker build -t YOURNAME/jekyll .\n```\n\nRun your image\n```sh\ncd your-jekyll-app-directory/\ndocker run --rm -it -p 4000:4000 -v \"$PWD\":/app -w /app YOURNAME/jekyll\n```\n\nPush your image\n```\ndocker push YOURNAME/jekyll\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeteretelej%2Fjekyll-container","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeteretelej%2Fjekyll-container","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeteretelej%2Fjekyll-container/lists"}