LinuxCommandLibrary

azurite

Local Azure Storage emulator for development and testing.

TLDR

Start Azurite (all services)

$ azurite
copy
Start blob service only
$ azurite-blob
copy
Start on custom ports
$ azurite --blobPort [10000] --queuePort [10001] --tablePort [10002]
copy
Use custom location
$ azurite --location [/path/to/data]
copy
Silent mode
$ azurite --silent
copy

SYNOPSIS

azurite [options]

DESCRIPTION

azurite is an open-source Azure Storage API compatible server emulator. It provides local development and testing environments for Azure Blob, Queue, and Table storage without requiring an Azure account.
The tool is officially maintained by Microsoft and replaces the deprecated Azure Storage Emulator.

PARAMETERS

--blobPort port

Blob service port (default: 10000)
--queuePort port
Queue service port (default: 10001)
--tablePort port
Table service port (default: 10002)
--location, -l path
Data storage location
--silent, -s
Silent mode (no logging)
--debug path
Debug log file path
--loose
Loose mode (permissive validation)
--cert path
HTTPS certificate path
--key path
HTTPS key path
--oauth level
OAuth authentication level

SERVICES

azurite

All services (Blob, Queue, Table)
azurite-blob
Blob service only
azurite-queue
Queue service only
azurite-table
Table service only

CONNECTION STRINGS

Default development connection string:

$ DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;QueueEndpoint=http://127.0.0.1:10001/devstoreaccount1;TableEndpoint=http://127.0.0.1:10002/devstoreaccount1;
copy

CAVEATS

Not all Azure Storage features supported. Some API behaviors differ from production. Cosmos DB Table API not fully compatible. Data persists between runs unless --inMemoryPersistence used. Not for production use.

HISTORY

Azurite was created by Xiao Ning Guo and adopted by Microsoft in 2019 as the official replacement for the Windows-only Azure Storage Emulator, providing cross-platform support.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community