DynamoDb Local that allow data persistence between container restarts and/or removal.
2.2K
Container image of DynamoDb Local which persists data to disk.
If this image is useful to you, please consider giving it a Star on GitHub and/or DockerHub
shared-local-instance.db. Data can be read/written again after container restarts and removal.# Assuming that your current folder ($PWD) is already shared with Docker Desktop
# If not, you can share it through Docker Desktop -> Preferences -> Resource -> File Sharing
docker pull kunalshah/dynamodb-local
docker run \
--rm \
-d \
-v $PWD:/data \
-p 8000:8000 \
--name dynamodb-local \
kunalshah/dynamodb-local
# Due to usage of --rm, container will be removed when it exits
# However, data will persist in $PWD/shared-local-instance.db
#profile name from ~/.aws/credentials
export AWS_PROFILE=MyAWSProfile
aws dynamodb list-tables --endpoint-url http://localhost:8000
or
aws dynamodb list-tables --endpoint-url http://localhost:8000 --profile MyAWSProfile
How to build and run this image locally
How to run DynamoDb Local without Docker
Why this image is based on bitnami/java
bitnami/java is well maintained, uses CI/CD and it is continuously updated.
When bitnami/java publishes new image (almost every day or week), new build of kunalshah/dynamodb-local triggers on DockerHub automatically.
So you get latest version of DynamoDb Local when you download this image.
Content type
Image
Digest
Size
344.1 MB
Last updated
about 5 years ago
docker pull kunalshah/dynamodb-local