Run Azure PowerShell in a Docker Container

You can run the latest image version of using the following command:

You can also run a specific version of Azure PowerShell using the following command:

If you want to just download and pull the images from the official Microsoft Container Registry (MCR) you can just run the docker pull commands.

Pull a specific version of Azure PowerShell using the following command:

This content was borrowed from https://www.thomasmaurer.ch/2020/03/run-azure-powershell-in-a-docker-container/.