Yamanipanuchi Posted November 25, 2020 Share Posted November 25, 2020 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? Quote Link to comment
trurl Posted November 25, 2020 Share Posted November 25, 2020 2 minutes ago, Yamanipanuchi said: powershell Do you mean Windows powershell? Unraid is Linux. You would have to run a Windows VM. Quote Link to comment
Yamanipanuchi Posted November 30, 2020 Author Share Posted November 30, 2020 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. Quote Link to comment
trurl Posted December 1, 2020 Share Posted December 1, 2020 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. Quote Link to comment
JonathanM Posted December 1, 2020 Share Posted December 1, 2020 If you enable the search github option in community applications settings there are a bunch of results for powershell containers. Possibly try that? Quote Link to comment
TexasDaddy Posted January 16, 2021 Share Posted January 16, 2021 Have you tried this? https://forums.unraid.net/topic/76812-possiblity-of-microsoftpowershell-plugindocker/ Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.