MCPcopy Index your code
hub / github.com/Azure/Azurite

github.com/Azure/Azurite @v3.35.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v3.35.0 ↗ · + Follow
3,422 symbols 7,651 edges 468 files 506 documented · 15% 1 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Featured Tags

  • latest docker pull mcr.microsoft.com/azure-storage/azurite

Full Tag Listing

About this Image

Please refer to Azurite official GitHub repository for more information.

Azurite is an open source Azure Storage API compatible server (emulator). Based on Node.js, Azurite provides cross platform experiences for customers wanting to try Azure Storage easily in a local environment. Azurite simulates most of the commands supported by Azure Storage with minimal dependencies.

How to Use this Image

docker run -p 10000:10000 -p 10001:10001 -p 10002:10002 mcr.microsoft.com/azure-storage/azurite

-p 10000:10000 will expose blob service's default listening port. -p 10001:10001 will expose queue service's default listening port. -p 10002:10002 will expose table service's default listening port.

Just run blob service:

docker run -p 10000:10000 mcr.microsoft.com/azure-storage/azurite azurite-blob --blobHost 0.0.0.0

Run the image as a service (-d = daemon) named azurite and restart unless specifically stopped (this is useful when re-starting your development machine for example)

docker run --name azurite -d --restart unless-stopped -p 10000:10000 -p 10001:10001 -p 10002:10002 mcr.microsoft.com/azure-storage/azurite

Run Azurite V3 docker image with customized persisted data location

docker run -p 10000:10000 -p 10001:10001 -p 10002:10002 -v c:/azurite:/data mcr.microsoft.com/azure-storage/azurite

-v c:/azurite:/data will use and map host path c:/azurite as Azurite's workspace location.

Customize Azurite V3 supported parameters for docker image

docker run -p 7777:7777 -p 8888:8888 -p 9999:9999 -v c:/azurite:/workspace mcr.microsoft.com/azure-storage/azurite azurite -l /workspace -d /workspace/debug.log --blobPort 7777 --blobHost 0.0.0.0 --queuePort 8888 --queueHost 0.0.0.0 --tablePort 9999 --tableHost 0.0.0.0 --loose --skipApiVersionCheck --disableProductStyleUrl --disableTelemetry

Above command will try to start Azurite image with configurations:

-l //workspace defines folder /workspace as Azurite's location path inside docker instance, while /workspace is mapped to c:/azurite in host environment by -v c:/azurite:/workspace

-d //workspace/debug.log enables debug log into /workspace/debug.log inside docker instance. debug.log will also mapped to c:/azurite/debug.log in host machine because of docker volume mapping.

--blobPort 7777 makes Azurite blob service listen to port 7777, while -p 7777:7777 redirects requests from host machine's port 7777 to docker instance.

--blobHost 0.0.0.0 defines blob service listening endpoint to accept requests from host machine.

--queuePort 8888 makes Azurite queue service listen to port 8888, while -p 8888:8888 redirects requests from host machine's port 8888 to docker instance.

--queueHost 0.0.0.0 defines queue service listening endpoint to accept requests from host machine.

--tablePort 9999 makes Azurite table service listen to port 9999, while -p 9999:9999 redirects requests from host machine's port 9999 to docker instance.

--tableHost 0.0.0.0 defines table service listening endpoint to accept requests from host machine.

--loose enables loose mode which ignore unsupported headers and parameters.

--skipApiVersionCheck skip the request API version check.

--disableProductStyleUrl force parsing storage account name from request URI path, instead of from request URI host.

--disableTelemetry disable telemetry data collection of this Azurite execution. By default, Azurite will collect telemetry data to help improve the product.

If you use customized azurite parameters for docker image, --blobHost 0.0.0.0, --queueHost 0.0.0.0 are required parameters.

In above sample, you need to use double first forward slash for location and debug path parameters to avoid a known issue for Git on Windows.

Please refer to this document for More supported parameters like HTTPS or OAuth.

Customize HTTP Keep-Alive behavior To avoid TCP RST related errors in tests with SDK which not properly handle KeepAlive-Timeout response header, you could increase keep alive timeout, increase values in seconds.

docker run azurite --blobHost 0.0.0.0 --blobKeepAliveTimeout 300 --queueHost 0.0.0.0 --queueKeepAliveTimeout 300  --tableHost 0.0.0.0 --tableKeepAliveTimeout 300

Documentation

Please refer to this document.

Known Issues

Please go to Azurite GitHub repository issues for known issues.

Feedback

Please go to Azurite GitHub repository issues for any feedbacks.

License

This project is licensed under MIT.

Extension points exported contracts — how you extend this code

IConditionalHeadersValidator (Interface)
(no doc) [38 implementers]
src/blob/conditions/IConditionalHeadersValidator.ts
IAuthenticator (Interface)
(no doc) [40 implementers]
src/queue/authentication/IAuthenticator.ts
IAuthenticator (Interface)
(no doc) [41 implementers]
src/table/authentication/IAuthenticator.ts
ILoggerStrategy (Interface)
(no doc) [6 implementers]
src/common/ILoggerStrategy.ts
IQueueTestServerFactoryParams (Interface)
(no doc)
tests/queue/utils/QueueTestServerFactory.ts
ITableTestServerFactoryParams (Interface)
(no doc)
tests/table/utils/TableTestServerFactory.ts
IAuthenticator (Interface)
(no doc) [41 implementers]
src/blob/authentication/IAuthenticator.ts
IQueueEnvironment (Interface)
(no doc) [4 implementers]
src/queue/IQueueEnvironment.ts

Core symbols most depended-on inside this repo

getUniqueName
called by 462
tests/testutils.ts
set
called by 300
src/common/persistence/MemoryExtentStore.ts
info
called by 280
src/common/ILogger.ts
toString
called by 229
src/table/persistence/QueryInterpreter/QueryNodes/IQueryNode.ts
bodyToString
called by 213
tests/testutils.ts
get
called by 205
src/common/persistence/MemoryExtentStore.ts
parse
called by 162
src/common/authentication/AccountSASServices.ts
createBasicEntityForTest
called by 145
tests/table/utils/AzureStorageSDKEntityFactory.ts

Shape

Method 1,995
Class 542
Interface 421
Function 284
Enum 180

Languages

TypeScript99%
C#1%
Go1%

Modules by API surface

src/blob/generated/artifacts/models.ts290 symbols
src/blob/persistence/SqlBlobMetadataStore.ts89 symbols
src/table/generated/artifacts/models.ts79 symbols
src/blob/errors/StorageErrorFactory.ts76 symbols
src/queue/generated/artifacts/models.ts75 symbols
src/blob/persistence/IBlobMetadataStore.ts67 symbols
src/blob/persistence/LokiBlobMetadataStore.ts66 symbols
src/table/persistence/LokiTableMetadataStore.ts50 symbols
src/table/errors/StorageErrorFactory.ts37 symbols
src/table/handlers/TableHandler.ts33 symbols
src/blob/persistence/QueryInterpreter/QueryParser.ts33 symbols
src/blob/handlers/BlobHandler.ts33 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

Datastores touched

(mysql)Database · 1 repos
azurite_blobDatabase · 1 repos
dbnameDatabase · 1 repos
azurite_blob_testDatabase · 1 repos

For agents

$ claude mcp add Azurite \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact