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,10 +23,9 @@ 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- # --skipApiVersionCheck: the Functions host's Durable extension is updated to use newer
27- # Azure Storage REST API versions faster than Azurite releases support them. Without this
28- # flag, Azurite rejects the request with "The API version <date> is not supported by Azurite",
29- # the extension fails to create its task hub, and every /api/* call returns HTTP 500.
26+ # --skipApiVersionCheck: client sends an x-ms-version newer than this pinned Azurite image
27+ # recognizes; without this flag Azurite returns "The API version <date> is not supported by
28+ # Azurite", the task hub fails to initialize, and every /api/* call returns HTTP 500.
3029 docker run -- name ' azurite' - p 10000 :10000 - p 10001 :10001 - p 10002 :10002 - d " mcr.microsoft.com/azure-storage/azurite:${AzuriteVersion} " `
3130 azurite - l / workspace - d / workspace/ debug.log -- blobHost 0.0 .0.0 -- queueHost 0.0 .0.0 -- tableHost 0.0 .0.0 -- skipApiVersionCheck
3231
Original file line number Diff line number Diff line change @@ -23,10 +23,9 @@ 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- # --skipApiVersionCheck: the Functions host's Durable extension is updated to use newer
27- # Azure Storage REST API versions faster than Azurite releases support them. Without this
28- # flag, Azurite rejects the request with "The API version <date> is not supported by Azurite",
29- # the extension fails to create its task hub, and every /api/* call returns HTTP 500.
26+ # --skipApiVersionCheck: client sends an x-ms-version newer than this pinned Azurite image
27+ # recognizes; without this flag Azurite returns "The API version <date> is not supported by
28+ # Azurite", the task hub fails to initialize, and every /api/* call returns HTTP 500.
3029 docker run -- name ' azurite' - p 10000 :10000 - p 10001 :10001 - p 10002 :10002 - d " mcr.microsoft.com/azure-storage/azurite:${AzuriteVersion} " `
3130 azurite - l / workspace - d / workspace/ debug.log -- blobHost 0.0 .0.0 -- queueHost 0.0 .0.0 -- tableHost 0.0 .0.0 -- skipApiVersionCheck
3231
You can’t perform that action at this time.
0 commit comments