File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,7 +23,13 @@ if ($NoSetup -eq $false) {
2323 docker pull " mcr.microsoft.com/azure-storage/azurite:${AzuriteVersion} "
2424
2525 Write-Host " Starting Azurite storage emulator using default ports..." - ForegroundColor Yellow
26- docker run -- name ' azurite' - p 10000 :10000 - p 10001 :10001 - p 10002 :10002 - d " mcr.microsoft.com/azure-storage/azurite:${AzuriteVersion} "
26+ # --skipApiVersionCheck: the Durable extension's Azure Storage client can request a
27+ # newer REST API version than the pinned Azurite image supports (e.g. 2026-02-06 vs
28+ # Azurite 3.34.0's max 2025-05-05). Without this flag, Azurite rejects the request
29+ # with "The API version <date> is not supported by Azurite", the extension fails to
30+ # create its task hub, and every /api/* call returns HTTP 500.
31+ docker run -- name ' azurite' - p 10000 :10000 - p 10001 :10001 - p 10002 :10002 - d " mcr.microsoft.com/azure-storage/azurite:${AzuriteVersion} " `
32+ azurite - l / workspace - d / workspace/ debug.log -- blobHost 0.0 .0.0 -- queueHost 0.0 .0.0 -- tableHost 0.0 .0.0 -- skipApiVersionCheck
2733
2834 # Finally, start up the smoke test container, which will connect to the Azurite container
2935 docker run -- name $ContainerName - p 8080 :80 - it -- add-host = host.docker.internal:host- gateway - d `
Original file line number Diff line number Diff line change @@ -23,7 +23,13 @@ if ($NoSetup -eq $false) {
2323 docker pull " mcr.microsoft.com/azure-storage/azurite:${AzuriteVersion} "
2424
2525 Write-Host " Starting Azurite storage emulator using default ports..." - ForegroundColor Yellow
26- docker run -- name ' azurite' - p 10000 :10000 - p 10001 :10001 - p 10002 :10002 - d " mcr.microsoft.com/azure-storage/azurite:${AzuriteVersion} "
26+ # --skipApiVersionCheck: the Durable extension's Azure Storage client can request a
27+ # newer REST API version than the pinned Azurite image supports (e.g. 2026-02-06 vs
28+ # Azurite 3.34.0's max 2025-05-05). Without this flag, Azurite rejects the request
29+ # with "The API version <date> is not supported by Azurite", the extension fails to
30+ # create its task hub, and every /api/* call returns HTTP 500.
31+ docker run -- name ' azurite' - p 10000 :10000 - p 10001 :10001 - p 10002 :10002 - d " mcr.microsoft.com/azure-storage/azurite:${AzuriteVersion} " `
32+ azurite - l / workspace - d / workspace/ debug.log -- blobHost 0.0 .0.0 -- queueHost 0.0 .0.0 -- tableHost 0.0 .0.0 -- skipApiVersionCheck
2733
2834 # Finally, start up the smoke test container, which will connect to the Azurite container
2935 docker run -- name $ContainerName - p 8080 :80 - it -- add-host = host.docker.internal:host- gateway - d `
You can’t perform that action at this time.
0 commit comments