Description
A lightweight server clone of Azure Storage.Examples
Dependency:
go get github.com/testcontainers/testcontainers-go/modules/azurite
Usage:
azuriteContainer, err := azurite.Run(ctx, "mcr.microsoft.com/azure-storage/azurite:3.28.0")
Dependency:
dotnet add package Testcontainers.Azurite --version 3.9.0
Usage:
var AzuriteContainer = new AzuriteBuilder()
.WithImage("mcr.microsoft.com/azure-storage/azurite:3.23.0")
.Build();
await AzuriteContainer.StartAsync();
Dependency:
pip install testcontainers[azurite]
Usage:
with AzuriteContainer() as azurite_container:
connection_string = azurite_container.get_connection_string()
client = BlobServiceClient.from_connection_string(
connection_string,
api_version="2019-12-12"
)
Dependency:
npm install @testcontainers/azurite --save-dev
Usage:
const container = await new AzuriteContainer("mcr.microsoft.com/azure-storage/azurite:3.33.0").start();