项目地址:alist-org/alist: 🗂️A file list/WebDAV program that supports multiple storages, powered by Gin and Solidjs. / 一个支持多存储的文件列表/WebDAV程序,使用 Gin 和 Solidjs。 (github.com)

官网地址:Introduction | AList文档 (nn.ci)

拉取镜像

1
docker pull xhofe/alist:latest

创建容器启动

docker命令

1
docker run -d --restart=unless-stopped -v /etc/alist:/opt/alist/data -p 5244:5244 -e PUID=0 -e PGID=0 -e UMASK=022 --name="alist" xhofe/alist:latest

或者docker-compose

1
2
3
4
5
6
7
8
9
10
11
12
13
14
version: '3.3'
services:
alist:
image: 'xhofe/alist:latest'
container_name: alist
volumes:
- '/etc/alist:/opt/alist/data'
ports:
- '5244:5244'
environment:
- PUID=0
- PGID=0
- UMASK=022
restart: unless-stopped

添加存储(SMB为例)

使用说明:请问smb具体如何使用? · alist-org/alist · Discussion #2215 (github.com)

官方示例图

1

2

关于挂载SMB一级根

3

4

自用示例图

a

b