Linux command
azurite 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start
azurite
Example
azurite-blob
Example
azurite --blobPort [10000] --queuePort [10001] --tablePort [10002]
Example
azurite --location [/path/to/data]
Silent
azurite --silent
说明
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.
参数
- --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 (e.g., basic)
- --blobHost _addr_
- Blob service listening address (default: 127.0.0.1)
- --queueHost _addr_
- Queue service listening address (default: 127.0.0.1)
- --tableHost _addr_
- Table service listening address (default: 127.0.0.1)
- --inMemoryPersistence
- Store all data in memory only (data lost on exit)
- --disableProductStyleUrl
- Force account name parsing from URI path instead of hostname
FAQ
What is the azurite command used for?
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.
How do I run a basic azurite example?
Run `azurite` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --blobPort _port_ do in azurite?
Blob service port (default: 10000)