Print example docker commands after building stress image (#3332)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
This commit is contained in:
parent
145359aecd
commit
a5a65bce1b
@ -169,6 +169,15 @@ function DeployStressPackage(
|
||||
|
||||
Run docker build -t $imageTag -f $dockerFile $dockerBuildFolder
|
||||
if ($LASTEXITCODE) { return }
|
||||
|
||||
Write-Host "`nContainer image '$imageTag' successfully built. To run commands on the container locally:" -ForegroundColor Blue
|
||||
Write-Host " docker run -it $imageTag" -ForegroundColor DarkBlue
|
||||
Write-Host " docker run -it $imageTag <shell, e.g. 'bash' 'pwsh' 'sh'>" -ForegroundColor DarkBlue
|
||||
Write-Host "To show installed container images:" -ForegroundColor Blue
|
||||
Write-Host " docker image ls" -ForegroundColor DarkBlue
|
||||
Write-Host "To show running containers:" -ForegroundColor Blue
|
||||
Write-Host " docker ps" -ForegroundColor DarkBlue
|
||||
|
||||
Run docker push $imageTag
|
||||
if ($LASTEXITCODE) {
|
||||
if ($login) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user