Skip to content

Instantly share code, notes, and snippets.

@gabrieljoelc
Last active October 25, 2018 05:04
Show Gist options
  • Save gabrieljoelc/c393b48526224b70d9ea7e9f0c7247cc to your computer and use it in GitHub Desktop.
Save gabrieljoelc/c393b48526224b70d9ea7e9f0c7247cc to your computer and use it in GitHub Desktop.

Microsoft is not going to support emulators for Mac or Linux (see here). Here is a workaround:

  1. Install docker
  2. Install https://github.com/Azure/Azurite: docker pull arafato/azurite
  3. docker run -d -t -p 10000:10000 -p 10001:10001 -p 10002:10002 -v /Users/user1/azurite:/opt/azurite/folder arafato/azurite
  4. az storage table create --name 'test' --connection-string 'DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;TableEndpoint=http://127.0.0.1:10002/devstoreaccount1;'

Note that the port number is table storage specific as is blob and queue (see here).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment