Run container:
$ docker run -p 80:4000 -v /srv/gitbook ysknmt/gitbook
4000
– GitBook default service port.
35729
– Live reload server port.
/srv/gitbook
– Default working directory for GitBook container.
$ docker run -v /srv/gitbook -v /srv/html ysknmt/gitbook gitbook build . /srv/html