hoogltwo.blogg.se

List tables on local dynamodb
List tables on local dynamodb








list tables on local dynamodb

If you prefer to run the container without the interactive output then I suggest running in detached mode by adding the -d argument….ĭocker run -p 8000:8000 -d amazon/dynamodb-local.Īs this point, we have a local instance of DynamoDB running in a container, available on our host machine on port 8000. If this conflicts with other applications on your machine, you can specify a different host port number. We have chosen to publish port 8000 from the container to our host machine on its port 8000. This will start a container using the image that we previously pulled down. Now that we have the image available we can start a container instance using the docker run -p 8000:8000 amazon/dynamodb-local command… After a short time, you should see the pull command complete successfully… This can be done by running the docker pull amazon/dynamodb-local command. The first step is to pull the DynamoDB Docker image down to your development machine. NOTE: You will require Docker to be installed and running locally on your development machine in order to follow along!

list tables on local dynamodb

#List tables on local dynamodb how to#

I’ll include the basic details of how to use the AWS DynamoDB Docker image here for completeness, however, the full documentation is available on the Docker Hub as well in the AWS Documentation. In this post, I will demonstrate how to get started with the local AWS DynamoDB Docker image and a basic ASP.NET Core application which can be conditionally configured to use the local version when in development. Recently, AWS added a Docker image that makes running DynamoDB locally really straightforward. This can reduce the complexity of local development and reduce the costs associated with spinning up development DynamoDB tables. I recently discovered that AWS provides (and have done for 5 years!) a local version of DynamoDB which is perfect for testing applications offline and without the need to set up actual DynamoDB tables in the cloud. NET Core based microservices I have found myself using AWS DynamoDB as a data store.










List tables on local dynamodb