Some checks failed
Deploy to Test Environment / deploy-to-test (push) Failing after 43s
14 lines
565 B
PowerShell
14 lines
565 B
PowerShell
# Update MCP configuration for Podman
|
|
|
|
$mcpConfigPath = "c:/Users/games3/AppData/Roaming/Code/User/mcp.json"
|
|
$content = Get-Content $mcpConfigPath -Raw
|
|
|
|
# Replace Docker named pipe with Podman SSH connection
|
|
$content = $content -replace 'npipe:////./pipe/docker_engine', 'ssh://root@127.0.0.1:2972/run/podman/podman.sock'
|
|
|
|
# Write back
|
|
Set-Content $mcpConfigPath -Value $content -NoNewline
|
|
|
|
Write-Host "Updated MCP configuration for Podman" -ForegroundColor Green
|
|
Write-Host "New DOCKER_HOST: ssh://root@127.0.0.1:2972/run/podman/podman.sock" -ForegroundColor Cyan
|