«

docker安装到非默认路径

学长 发布于 阅读:136 软件


cmd中输入以下

start /w "" "Docker Desktop Installer.exe" install --installation-dir="H:\F\Program Files\Docker" --wsl-default-data-root="H:\F\Program Files\Docker\wsl"


PS的我不知道怎么输入带空格的路径。。。因为必须要用单引号。。。

Ollama安装:

OllamaSetup.exe  /DIR="H:\F\Program Files\Ollama"


Local AI 映射到3002端口因为3001是anything LLM的 并且 anything 对local AI支持最全改端口识别不到啊!!!

docker run -ti --name local-ai -p 8080:8080 --gpus all localai/localai:latest-aio-gpu-nvidia-cuda-12




docker pull mintplexlabs/anythingllm


# Run this in powershell terminal
$env:STORAGE_LOCATION="$HOME\Documents\anythingllm"; `
If(!(Test-Path $env:STORAGE_LOCATION)) {New-Item $env:STORAGE_LOCATION -ItemType Directory}; `
If(!(Test-Path "$env:STORAGE_LOCATION\.env")) {New-Item "$env:STORAGE_LOCATION\.env" -ItemType File}; `
docker run -d -p 3001:3001 `
--cap-add SYS_ADMIN `
-v "$env:STORAGE_LOCATION`:/app/server/storage" `
-v "$env:STORAGE_LOCATION\.env:/app/server/.env" `
-e STORAGE_DIR="/app/server/storage" `
mintplexlabs/anythingllm;

推荐阅读:


扫描二维码,在手机上阅读