1
0
Fork 0

debugging container start

This commit is contained in:
Mikhail Goncharov 2021-06-01 17:06:40 +02:00
parent 8960ff7dc9
commit 530c8bd77c

View file

@ -34,8 +34,8 @@ Write-Output "Image digest ${DIGEST}"
Write-Output "Stopping old container..."
docker stop ${NAME}
docker rm ${NAME}
Write-Output "Starting container..."
if (${testing}) {
Write-Output "Starting container with powershell to test..."
docker run -it `
-v ${workdir}:C:\ws `
-v C:\credentials:C:\credentials `
@ -43,6 +43,7 @@ if (${testing}) {
-e IMAGE_DIGEST=${DIGEST} `
${IMAGE} powershell
} else {
Write-Output "Starting container with workdir ${workdir}..."
docker run -d `
-v ${workdir}:C:\ws `
-v C:\credentials:C:\credentials `