fix: down/rm ANTES de detectar puertos (#13)

Co-authored-by: Hermes Agent <hermes@d0a1.es>
This commit was merged in pull request #13.
This commit is contained in:
hermes authored and Hermes committed 2026-09-12 21:22:56 +02:00
1 parent ebc420656a
commit 6e311050e5
4 files changed
+14 -5

No files matched your search

+3 -1
View File
@@ -80,6 +80,9 @@ if ($TotalRamGb -lt 3.5) {
}
Ok "RAM: $TotalRamGb GB"
# --- Tumbar deploy previo (antes de detectar puertos) -----------------------
cmd /c docker rm -f d0a1-openclaw-ollama '>' NUL '2>&1'
# --- Auto-detect Ollama port ------------------------------------------------
$OllamaPort = Find-FreePort 11434
@@ -96,7 +99,6 @@ Write-Host ''
# --- 1. Arrancar Ollama (Docker) -------------------------------------------
Warn '[1/3] Arrancando Ollama (IA local)...'
cmd /c docker rm -f d0a1-openclaw-ollama '>' NUL '2>&1'
$running = docker ps --format '{{.Names}}' | Select-String -Quiet 'd0a1-openclaw-ollama'
if (-not $running) {
docker run -d --name d0a1-openclaw-ollama `