start in background
This commit is contained in:
parent
ee2d99ebd2
commit
7fe1682620
1 changed files with 2 additions and 1 deletions
|
@ -19,6 +19,7 @@
|
||||||
|
|
||||||
param(
|
param(
|
||||||
[Parameter(Mandatory=$true)]
|
[Parameter(Mandatory=$true)]
|
||||||
|
[ValidateSet("buildkite", "jenkins")]
|
||||||
[string]$master
|
[string]$master
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -36,7 +37,7 @@ docker stop ${NAME}
|
||||||
docker rm ${NAME}
|
docker rm ${NAME}
|
||||||
|
|
||||||
Write-Output "Starting container..."
|
Write-Output "Starting container..."
|
||||||
docker run `
|
docker run -d `
|
||||||
-v D:\:C:\ws `
|
-v D:\:C:\ws `
|
||||||
-v C:\credentials:C:\credentials `
|
-v C:\credentials:C:\credentials `
|
||||||
-e PARENT_HOSTNAME=$env:computername `
|
-e PARENT_HOSTNAME=$env:computername `
|
||||||
|
|
Loading…
Reference in a new issue