Commit inicial - estructura base del proyecto
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
# Runbook: Coolify y Docker
|
||||
|
||||
Docker corre dentro del LXC `102`, no directamente sobre el host Proxmox.
|
||||
|
||||
## Estado general
|
||||
|
||||
```powershell
|
||||
.\scripts\Invoke-ProxmoxSsh.ps1 -Command "pct exec 102 -- docker ps --format 'table {{.Names}}\t{{.Status}}\t{{.Ports}}'"
|
||||
.\scripts\Invoke-ProxmoxSsh.ps1 -Command "pct exec 102 -- docker stats --no-stream"
|
||||
.\scripts\Invoke-ProxmoxSsh.ps1 -Command "pct exec 102 -- docker volume ls"
|
||||
.\scripts\Invoke-ProxmoxSsh.ps1 -Command "pct exec 102 -- docker network ls"
|
||||
```
|
||||
|
||||
## Logs de un contenedor
|
||||
|
||||
```powershell
|
||||
.\scripts\Invoke-ProxmoxSsh.ps1 -Command "pct exec 102 -- docker logs <container> --tail 100"
|
||||
```
|
||||
|
||||
## Inspect
|
||||
|
||||
```powershell
|
||||
.\scripts\Invoke-ProxmoxSsh.ps1 -Command "pct exec 102 -- docker inspect <container>"
|
||||
```
|
||||
|
||||
## Reinicio controlado
|
||||
|
||||
Requiere confirmacion explicita.
|
||||
|
||||
```powershell
|
||||
.\scripts\Invoke-ProxmoxSsh.ps1 -Command "pct exec 102 -- docker restart <container>"
|
||||
```
|
||||
|
||||
## Shell interactivo
|
||||
|
||||
Usar solo cuando haga falta inspeccion manual.
|
||||
|
||||
```powershell
|
||||
ssh -i "C:\Users\Uriel Jareth\.openclaw\workspace\proxmox_key_win" root@192.168.0.200
|
||||
pct exec 102 -- docker exec -it <container> /bin/sh
|
||||
```
|
||||
Reference in New Issue
Block a user