开启windows下的linux子系统(WSL)

安装 WSL2
管理员启动cmd
wsl --install
下载Docker Desktop 安装
安装
配置参数docker
{
"builder": {
"gc": {
"defaultKeepStorage": "20GB",
"enabled": true
}
},
"experimental": false,
"registry-mirrors": [
"https://docker.m.daocloud.io",
"https://hub-mirror.c.163.com",
"https://mirror.baidubce.com",
"https://docker.1ms.run"
]
}
创建目录 D:\ai
手动下载https://github.com/langgenius/dify
或者进入目录后运行
git clone https://gitcode.com/GitHub_Trending/di/dify.git
进入\dify\docker目录后运行:
docker compose up -d

设置密码
进入控制台

1万+

被折叠的 条评论
为什么被折叠?



