Running PowerShell in a Docker Container

Pull a docker PowerShell Image

docker pull mcr.microsoft.com/powershell
docker pull mcr.microsoft.com/powershell:latest
docker pull mcr.microsoft.com/powershell:preview

Run a docker PowerShell Image

docker run -it mcr.microsoft.com/powershell