We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97cb43c commit 1d1f0f9Copy full SHA for 1d1f0f9
1 file changed
DockerBuild.ps1
@@ -1418,15 +1418,6 @@ $envVarAssignments$gitConfigCommands$postInitCommands
1418
}
1419
1420
1421
- # If no existing container, remove any containers with same image to avoid conflicts
1422
- if (-not $existingContainerId)
1423
- {
1424
- docker ps -a -q --filter "ancestor=$ImageTag" | ForEach-Object {
1425
- Write-Host "Removing container $_"
1426
- docker rm -f $_ 2>&1 | Out-Null
1427
- }
1428
1429
-
1430
# Registry authentication and pull logic
1431
$builtNewImage = $false
1432
$dockerConfigArg = @()
0 commit comments