Skip to content

Instantly share code, notes, and snippets.

@magnetikonline
Created August 4, 2020 03:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save magnetikonline/9fa75ec24dc616e2a99c416ffc86d42d to your computer and use it in GitHub Desktop.
Save magnetikonline/9fa75ec24dc616e2a99c416ffc86d42d to your computer and use it in GitHub Desktop.
DynamoDB local quick usage guide.

DynamoDB local quick usage guide

Running a local version of DynamoDB inside a Docker container.

Commands

$ docker pull amazon/dynamodb-local:latest
$ docker run --publish 8000:8000 amazon/dynamodb-local

# in another terminal
$ alias dynamolocal='aws --endpoint-url http://localhost:8000 dynamodb'
$ dynamolocal list-tables

#{
#    "TableNames": []
#}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment