naming the docker container
This commit is contained in:
parent
79ccb8b846
commit
29bcd2dc53
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ If ($LastExitCode -ne 0) {
|
||||||
|
|
||||||
# mount a persistent workspace for experiments
|
# mount a persistent workspace for experiments
|
||||||
New-Item -ItemType Directory -Force -Path $Env:USERPROFILE\workspace
|
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) {
|
If ($LastExitCode -ne 0) {
|
||||||
exit
|
exit
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue