GitBook Docker#
Modern documentation format and toolchain using Git and Markdown
Docker#
# vi gitbook/README.md
# vi gitbook/SUMMARY.md
docker run -d --name gitbook -p 4000:4000 -v $PWD/gitbook:/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
Tips#
gitbook help