Overview

Full name
docker.io/zhaojun1998/zfile
Registry
docker.io
Namespace
zhaojun1998
Repository
zfile
Cached tags
52
Last synced
07/06/2026, 10:53 AM

Introduction

ZFile 在线网盘镜像,聚合本地与云存储为统一文件浏览下载页,适合团队文档分发与公开资源站私有化部署。

Details

zhaojun1998/zfile 提供 Web 管理后台与公开下载页,可挂载本地目录、OneDrive、阿里云 OSS 等多种存储驱动。典型用于学校/社团资源站,与 Nextcloud 相比更轻、偏只读分发。定位为 Web 应用服务,需 MySQL/H2 与配置 volume;生产固定 tag、HTTPS 与防盗链。

快速启动

docker run -d --name zfile \
  -p 8080:8080 \
  -v /data/zfile:/root/zfile \
  docker.io/zhaojun1998/zfile:latest

推荐实践

docker run -d --name zfile \
  --restart unless-stopped \
  -p 8080:8080 \
  -v /data/zfile/data:/root/zfile \
  -v /data/zfile/storage:/storage \
  docker.io/zhaojun1998/zfile:4.3.3

核心参数说明

  • -p 8080:8080 — ZFile Web 端口
  • -v .../data:... — 应用配置与数据库
  • -v .../storage:... — 本地存储根目录
  • --restart unless-stopped — 网盘服务持续在线
  • 固定 tag — 前端与存储驱动 pin

Kubernetes

apiVersion: apps/v1
kind: Deployment
metadata:
  name: zfile
spec:
  replicas: 2
  selector:
    matchLabels:
      app: zfile
  template:
    metadata:
      labels:
        app: zfile
    spec:
      containers:
        - name: zfile
          image: docker.io/zhaojun1998/zfile:4.3.3
          ports:
            - containerPort: 8080
          volumeMounts:
            - name: data
              mountPath: /root/zfile
            - name: storage
              mountPath: /storage
      volumes:
        - name: data
          persistentVolumeClaim:
            claimName: zfile-data
        - name: storage
          persistentVolumeClaim:
            claimName: zfile-storage
---
apiVersion: v1
kind: Service
metadata:
  name: zfile
spec:
  selector:
    app: zfile
  ports:
    - port: 8080
      targetPort: 8080

Ingress TLS 与 CDN 缓存静态资源;PVC 按文件总量规划。

Latest tags (20)

View all 52 tags →
TagArchPushed AtSizeDigestSyncWishAction
docker.io/zhaojun1998/zfile
:4.5.0
linux/amd64linux/arm64
2026/05/16 21:50143.2 MBsha256:f1bc2cb8808c
docker.io/zhaojun1998/zfile
:2026-05-16_21-48-07_24d0560
linux/amd64linux/arm64
2026/05/16 21:50143.2 MBsha256:f1bc2cb8808c
docker.io/zhaojun1998/zfile
:latest
linux/amd64linux/arm64
2026/05/16 21:50143.2 MBsha256:f1bc2cb8808c
docker.io/zhaojun1998/zfile
:2026-05-14_22-53-15_a4f9c7d
linux/amd64linux/arm64
2026/05/14 22:54143.0 MBsha256:28707a163ca1
docker.io/zhaojun1998/zfile
:2026-05-11_21-21-36_a4f9c7d
linux/amd64linux/arm64
2026/05/11 21:22143.1 MBsha256:b1c5c8edf934
docker.io/zhaojun1998/zfile
:2025-11-09_21-56-20_8972ce0
linux/amd64linux/arm64
2025/11/09 21:57142.9 MBsha256:32e452f1c867
docker.io/zhaojun1998/zfile
:2025-11-09_16-03-49_8972ce0
linux/amd64linux/arm64
2025/11/09 16:05143.1 MBsha256:b36660889acb
docker.io/zhaojun1998/zfile
:2025-11-09_14-29-22_8972ce0
linux/amd64linux/arm64
2025/11/09 14:30143.2 MBsha256:10487b7db338
docker.io/zhaojun1998/zfile
:4.4.0
linux/amd64linux/arm64
2025/09/15 18:31142.9 MBsha256:57bbaeb9107d
docker.io/zhaojun1998/zfile
:2025-09-15_18-29-42_8685122
linux/amd64linux/arm64
2025/09/15 18:30142.9 MBsha256:57bbaeb9107d
docker.io/zhaojun1998/zfile
:2025-09-09_20-56-14_8685122
linux/amd64linux/arm64
2025/09/09 20:57142.9 MBsha256:673231dc69a9
docker.io/zhaojun1998/zfile
:2025-09-09_19-56-17_dbad4f6
linux/amd64linux/arm64
2025/09/09 19:57142.9 MBsha256:2352f8e2b7db
docker.io/zhaojun1998/zfile
:2025-09-01_20-47-03_dbad4f6
linux/amd64linux/arm64
2025/09/01 20:48142.8 MBsha256:285ff4eeeb90
docker.io/zhaojun1998/zfile
:2025-08-25_19-20-03_3658da4
linux/amd64linux/arm64
2025/08/25 19:21139.4 MBsha256:17f03673f04e
docker.io/zhaojun1998/zfile
:2025-08-24_16-32-33_3658da4
linux/amd64linux/arm64
2025/08/24 16:33139.3 MBsha256:9f7172b16f7f
docker.io/zhaojun1998/zfile
:4.3.3
linux/amd64linux/arm64
2025/08/01 22:03139.9 MBsha256:7ca88534331f
docker.io/zhaojun1998/zfile
:2025-08-01_22-02-21_4c26851
linux/amd64linux/arm64
2025/08/01 22:03139.9 MBsha256:7ca88534331f
docker.io/zhaojun1998/zfile
:2025-08-01_20-26-16_4c26851
linux/amd64linux/arm64
2025/08/01 20:27139.9 MBsha256:ee81b6491a43
docker.io/zhaojun1998/zfile
:2025-07-29_22-23-31_4c26851
linux/amd64linux/arm64
2025/07/29 22:24140.0 MBsha256:43eaadaa4a3b
docker.io/zhaojun1998/zfile
:4.3.2
linux/amd64linux/arm64
2025/07/25 11:01150.1 MBsha256:175f57d80c80