Azure Storage emulator for development in Windows 10
I want to be able to run locally my back end apps that use Azure while I’m working on it.
In the past I used the Azure Storage Emulator but is no longer being supported, Azurite is the new version and in this post I will show you how to install it and start using it.
Install
There are several ways to install Azurite in your development machine like a Visual Studio Code extension, NPM or Docker, we are going to use Docker (If you don’t have it installed, check my post Installing Docker for Windows).
Open a powershell command prompt and use the following command to pull the latest Azurite docker image
docker pull mcr.microsoft.com/azure-storage/azurite
Run
Run Azurite with the following powershell commands
md c:\azurite
docker run -p 10000:10000 -p 10001:10001 -v c:/azurite:/data mcr.microsoft.com/azure-storage/azurite
Now Azurite is ready to be used and you can use your Azure Storage Explorer to access your data or develop your apps.