{"id":18798280,"url":"https://github.com/megane42/docker-gitbook","last_synced_at":"2026-01-25T18:33:14.786Z","repository":{"id":85337923,"uuid":"119511893","full_name":"megane42/docker-gitbook","owner":"megane42","description":"docker container for build and serve gitbook","archived":false,"fork":false,"pushed_at":"2018-01-30T09:26:31.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-28T20:06:19.306Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/megane42.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-30T09:16:52.000Z","updated_at":"2018-01-30T09:16:52.000Z","dependencies_parsed_at":"2023-08-30T22:16:16.930Z","dependency_job_id":null,"html_url":"https://github.com/megane42/docker-gitbook","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/megane42/docker-gitbook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/megane42%2Fdocker-gitbook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/megane42%2Fdocker-gitbook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/megane42%2Fdocker-gitbook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/megane42%2Fdocker-gitbook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/megane42","download_url":"https://codeload.github.com/megane42/docker-gitbook/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/megane42%2Fdocker-gitbook/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28756442,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T16:32:25.380Z","status":"ssl_error","status_checked_at":"2026-01-25T16:32:09.189Z","response_time":113,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-07T22:11:31.875Z","updated_at":"2026-01-25T18:33:14.756Z","avatar_url":"https://github.com/megane42.png","language":null,"readme":"# docker-gitbook\n\n## Usage\n\n### Build a Docker Image\n\nOnly if you want to build an image at localhost (especially inside of proxy).\n\n```\ndocker build -t megane42/gitbook \\\n       --build-arg http_proxy=${http_proxy} \\\n       --build-arg HTTP_PROXY=${HTTP_PROXY} \\\n       --build-arg https_proxy=${https_proxy} \\\n       --build-arg HTTPS_PROXY=${HTTPS_PROXY} \\\n       .\n```\n\n### Build Document\n\n```\ncd /path/to/your/gitbook/root/\ndocker run --rm -v ${PWD}:/work -w /work megane42/gitbook build\n```\n\n### Serve Document\n\n```\ncd /path/to/your/gitbook/root/\ndocker run --init --rm -p 4000:4000 -v ${PWD}:/work -w /work megane42/gitbook serve\n```\n\n* Don't forget `--init` , or you can't exit the server by `Ctrl-C`.\n  * Node.js app, such as gitbook, ignores SYGTERM when it has PID 1 ([see](https://github.com/nodejs/docker-node/blob/master/docs/BestPractices.md#handling-kernel-signals)).\n\n## Why So Old Gitbook?\n\n* For [this bug](https://github.com/GitbookIO/theme-default/issues/28).\n\n## License\n\n* MIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmegane42%2Fdocker-gitbook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmegane42%2Fdocker-gitbook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmegane42%2Fdocker-gitbook/lists"}