Public | Automated Build

Last pushed: a year ago
Short Description
GitBook
Full Description

GitBook Image

Run container:

$ docker run -p 80:4000 -v /srv/gitbook fellah/gitbook

4000 – GitBook default service port.

35729 – Live reload server port.

/srv/gitbook – Default working directory for GitBook container.

Build Static Website

$ docker run -v /srv/gitbook -v /srv/html fellah/gitbook gitbook build . /srv/html

Links

GitHub: GitBook

GitBook Toolchain Documentation

Docker Pull Command
Owner
fellah
Source Repository

Comments (5)
zealoussnow
6 months ago

I want export a pdf, how can I do?

bigkunlun
7 months ago

It can't work when I docker run, it appears "FileNotFoundError: No "README" file (or is ignored)"

buglife
a year ago

I also encountered the above problem. But I execute the following code, it would be resovled


    docker run --name=gitbook -p 80:4000 -v /srv/gitbook -v /srv/html fellah/gitbook sh -c  "gitbook init & gitbook build & gitbook serve"
xbingo
2 years ago

I also encountering this problem:

Live reload server started on port: 35729
Press CTRL+C to quit ...

info: loading book configuration....OK
info: load plugin gitbook-plugin-highlight ....OK
info: load plugin gitbook-plugin-search ....OK
info: load plugin gitbook-plugin-sharing ....OK
info: load plugin gitbook-plugin-fontsettings ....OK
info: load plugin gitbook-plugin-livereload ....OK
info: >> 5 plugins loaded

No README file

Can you resolve it? Thanks.

bzdk
2 years ago

Live reload server started on port: 35729
Press CTRL+C to quit ...

info: loading book configuration....
warn: you should specify a gitbook version to use in your book.json, for example: 2.x.x 
info: OK 
info: load plugin gitbook-plugin-livereload ....OK 
info: >> 1 plugins loaded 

No README file