Overview

Full name
docker.io/fellah/gitbook
Registry
docker.io
Namespace
fellah
Repository
gitbook
Cached tags
27
Last synced
07/06/2026, 09:04 AM

Introduction

GitBook 旧版文档站点生成/托管镜像,将 Markdown 仓库渲染为静态文档站,适合开源项目文档私有化。

Details

fellah/gitbook 运行 GitBook CLI 或 legacy gitbook serve,渲染 SUMMARY.md 结构文档。定位为静态文档 Web 服务,挂载 git repo volume;K8s Deployment + PVC 或 CI 预构建静态文件。

快速启动

docker run -d --name gitbook \
  -p 4000:4000 \
  -v $(pwd):/srv/gitbook \
  docker.io/fellah/gitbook:latest

推荐实践

docker run -d --name gitbook \
  --restart unless-stopped \
  -p 4000:4000 \
  -v /data/docs:/srv/gitbook \
  docker.io/fellah/gitbook:3.2.3

核心参数说明

  • -p 4000:4000 — GitBook 预览端口
  • -v .../gitbook:... — 文档源目录
  • 固定 tag — GitBook 3.x pin

Kubernetes

apiVersion: apps/v1
kind: Deployment
metadata:
  name: gitbook
spec:
  replicas: 2
  selector:
    matchLabels:
      app: gitbook
  template:
    metadata:
      labels:
        app: gitbook
    spec:
      containers:
        - name: gitbook
          image: docker.io/fellah/gitbook:3.2.3
          ports:
            - containerPort: 4000
          volumeMounts:
            - name: docs
              mountPath: /srv/gitbook
      volumes:
        - name: docs
          persistentVolumeClaim:
            claimName: gitbook-docs
---
apiVersion: v1
kind: Service
metadata:
  name: gitbook
spec:
  selector:
    app: gitbook
  ports:
    - port: 4000
      targetPort: 4000

新项目建议 MkDocs/Docusaurus;Ingress 静态缓存。

Latest tags (20)

View all 27 tags →
TagArchPushed AtSizeDigestSyncWishAction
docker.io/fellah/gitbook
:3.2.1
linux/amd64
2019/03/07 02:5169.3 MBsha256:3d5fc4a3f65d
docker.io/fellah/gitbook
:3
linux/amd64
2016/07/15 20:4298.2 MBsha256:5a3d25a6baa7
docker.io/fellah/gitbook
:3.2
linux/amd64
2016/07/15 20:3898.2 MBsha256:bde22cb0c285
docker.io/fellah/gitbook
:3.2.0
linux/amd64
2016/07/15 20:3498.2 MBsha256:53471e069afa
docker.io/fellah/gitbook
:latest
linux/amd64
2016/07/15 20:3198.2 MBsha256:29087de21915
docker.io/fellah/gitbook
:3.1.0
linux/amd64
2016/07/15 00:2198.2 MBsha256:6e2c6bfa8669
docker.io/fellah/gitbook
:3.1.1
linux/amd64
2016/07/15 00:1397.9 MBsha256:41a77f2950ae
docker.io/fellah/gitbook
:3.1
linux/amd64
2016/07/15 00:0997.9 MBsha256:d9157163911d
docker.io/fellah/gitbook
:3.0
amd64
2016/05/27 20:5497.9 MB-
docker.io/fellah/gitbook
:3.0.3
amd64
2016/05/27 20:5097.9 MB-
docker.io/fellah/gitbook
:3.0.2
amd64
2016/05/26 16:4697.9 MB-
docker.io/fellah/gitbook
:3.0.1
amd64
2016/05/26 16:2897.9 MB-
docker.io/fellah/gitbook
:3.0.0
amd64
2016/05/22 22:3697.9 MB-
docker.io/fellah/gitbook
:2.6.7
amd64
2016/01/15 18:15251.8 MBsha256:f2458c55bbb4
docker.io/fellah/gitbook
:2.6.5
amd64
2016/01/02 21:40251.6 MBsha256:ce1f9de8562b
docker.io/fellah/gitbook
:2.6.6
amd64
2016/01/02 21:38251.6 MBsha256:d02a62543d6c
docker.io/fellah/gitbook
:2.6.4
amd64
2016/01/02 21:34251.6 MBsha256:5df2c46dccf7
docker.io/fellah/gitbook
:2.6.3
amd64
2016/01/02 21:33251.6 MBsha256:b8f911de4ec5
docker.io/fellah/gitbook
:2.6.2
amd64
2016/01/02 21:31251.6 MBsha256:afc539440d02
docker.io/fellah/gitbook
:2.6.1
amd64
2016/01/02 21:29251.6 MBsha256:2249e6d55891