debugging container start
This commit is contained in:
parent
8960ff7dc9
commit
530c8bd77c
1 changed files with 2 additions and 1 deletions
|
@ -34,8 +34,8 @@ Write-Output "Image digest ${DIGEST}"
|
||||||
Write-Output "Stopping old container..."
|
Write-Output "Stopping old container..."
|
||||||
docker stop ${NAME}
|
docker stop ${NAME}
|
||||||
docker rm ${NAME}
|
docker rm ${NAME}
|
||||||
Write-Output "Starting container..."
|
|
||||||
if (${testing}) {
|
if (${testing}) {
|
||||||
|
Write-Output "Starting container with powershell to test..."
|
||||||
docker run -it `
|
docker run -it `
|
||||||
-v ${workdir}:C:\ws `
|
-v ${workdir}:C:\ws `
|
||||||
-v C:\credentials:C:\credentials `
|
-v C:\credentials:C:\credentials `
|
||||||
|
@ -43,6 +43,7 @@ if (${testing}) {
|
||||||
-e IMAGE_DIGEST=${DIGEST} `
|
-e IMAGE_DIGEST=${DIGEST} `
|
||||||
${IMAGE} powershell
|
${IMAGE} powershell
|
||||||
} else {
|
} else {
|
||||||
|
Write-Output "Starting container with workdir ${workdir}..."
|
||||||
docker run -d `
|
docker run -d `
|
||||||
-v ${workdir}:C:\ws `
|
-v ${workdir}:C:\ws `
|
||||||
-v C:\credentials:C:\credentials `
|
-v C:\credentials:C:\credentials `
|
||||||
|
|
Loading…
Reference in a new issue