在docker里用compose新建一个吧,给你个参考compose
services:
openlist:
image: 'openlistteam/openlist:latest'
container_name: openlist
user: '1000:1001' # Please replace `0:0` with the actual user ID and group ID you want to use to run OpenList.
volumes:
- './data:/opt/openlist/data'
ports:
- '5244:5244'
environment:
- UMASK=022
- TZ=Asia/Shanghai
restart: always