vmware / powerclicore

PowerCLI Core Dockerfile
Apache License 2.0
97 stars 48 forks source link

Powershell Script won't run right inside container #49

Open vmtocloud opened 3 years ago

vmtocloud commented 3 years ago

I am copying a powershell script into the container with Dockerfile and running it with CMD echo "pwsh -File '/root/makevm.ps1' | bash The Powershell executes but just sends all the commands at once and does not wait for each task to finish. If I run the container with docker run -it vmware/powerclicore the script works as expected. Any ideas?

tenthirtyam commented 2 weeks ago

@atanasa - recommended for closure based on age of the issue and 0 reactions.

Ryan Johnson Distinguished Engineer, VMware by Broadcom