1. 安装docker
2.启动Hyper-v
3.下载 安装 WSL
wsl --update
wsl --install
4. 打开 DeskDocker
4.1 Docker 配置国内源
{
"builder": {
"gc": {
"defaultKeepStorage": "20GB",
"enabled": true
}
},
"experimental": false,
"registry-mirrors": [
"https://cr.laoyou.ip-ddns.com",
"https://image.cloudlayer.icu",
"https://hub.fast360.xyz",
"https://docker-0.unsee.tech",
"https://docker-cf.registry.cyou",
"https://docker.1panel.live"
]
}
5. 打开 运行 ollama
6. 部署 运行 open webui docker
docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main