Sign inSign up

nickadam/pwsh_env_script

By nickadam

Updated over 6 years ago

Take your PowerShell script from an environment variable and run it in a container

Image
0

1.2K

nickadam/pwsh_env_script repository overview

pwsh_env_script

Takes your PowerShell script from an environment variable and runs it in a container.

Run from image

docker run -e SCRIPT='While($True){Get-Date; Start-Sleep 1}'  nickadam/pwsh_env_script

Run from compose file

See docker-compose.yml for an example script, notice the $$ in place of $ for variable names.

Tag summary

Content type

Image

Digest

Size

127.9 MB

Last updated

over 6 years ago

docker pull nickadam/pwsh_env_script