November 25, 20205 yr I have a powershell script that I would like to run in a docker container, I am not sure if what I am asking might be more complicated then I think it is.. This scrip has a web interface that runs on port 4000 and simply collects web information for my reference. Anyone out there that has done something similar, running a powershell script inside a docker? Or would possibly have any pointers?
November 25, 20205 yr Community Expert 2 minutes ago, Yamanipanuchi said: powershell Do you mean Windows powershell? Unraid is Linux. You would have to run a Windows VM.
November 30, 20205 yr Author PowerShell does exist for Linux and I use it. But I think I explained my initial question incorrectly. I want to run a Bash script that uses Powershell scripts all inside a docker to keep it contained. On the surface it sounds fairly simple. But I am afraid the lack of information I have found it may not be possible.
December 1, 20205 yr Community Expert 1 hour ago, Yamanipanuchi said: PowerShell does exist for Linux I expect most containers will not include it though. If you build your own container maybe you could include it.
December 1, 20205 yr If you enable the search github option in community applications settings there are a bunch of results for powershell containers. Possibly try that?
January 16, 20215 yr Have you tried this? https://forums.unraid.net/topic/76812-possiblity-of-microsoftpowershell-plugindocker/
Archived
This topic is now archived and is closed to further replies.