1
0
Fork 0

naming the docker container

This commit is contained in:
Christian Kühnel 2019-11-27 15:01:10 +00:00
parent 79ccb8b846
commit 29bcd2dc53

View file

@ -29,7 +29,7 @@ If ($LastExitCode -ne 0) {
# mount a persistent workspace for experiments
New-Item -ItemType Directory -Force -Path $Env:USERPROFILE\workspace
docker run -it -v $Env:USERPROFILE\workspace:C:\ws $IMAGE_NAME
docker run -it -v $Env:USERPROFILE\workspace:C:\ws --name $IMAGE_NAME $IMAGE_NAME
If ($LastExitCode -ne 0) {
exit
}