Run Azurite from a command lineĪzurite cannot be run from the command line if you only installed the Visual Studio Code extension. npm installĪfter installing and building Azurite, see Run Azurite from a command line.
Use azure storage emulator on a mac install#
git clone Īfter cloning the source code, execute following commands from the root of the cloned repo to build and install Azurite. Clone the GitHub repository for the Azurite project by using the following console command. This installation method requires that you have Git installed. Run just the blob service docker run -p 10000:10000 /azure-storage/azurite \Īzurite-blob -blobHost 0.0.0.0 -blobPort 10000įor more information about configuring Azurite at start-up, see Command-line options. v c:/azurite:/data /azure-storage/azurite The directory, c:/azurite, must be created before running the Docker command. In the following example, the -v c:/azurite:/data parameter specifies c:/azurite as the Azurite persisted data location. The -p 10000:10000 parameter redirects requests from host machine's port 10000 to the Docker instance. The following command runs the Azurite Docker image. Use DockerHub to pull the latest Azurite image by using the following command: docker pull /azure-storage/azurite npm install -g azuriteĪfter installing Azurite, see Run Azurite from a command line. After installing Node.js, execute the following npm command to install Azurite. Node Package Manager (npm) is the package management tool included with every Node.js installation. This installation method requires that you have Node.js version 8.0 or later installed.