1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
The -dbPath
specifies the path in the container.
Therefore, if you want to create it in a folder on your computer, you must share it with the container using the `-v' option.
For example, you can run the following.
docker run -p 8001:8001 -v $DATA_DIRECTORY:/home/dynamodblocal amazon/dynamodb-local -jar DynamoDBLocal.jar -sharedDb -dbPath . -cors http://localhost:5173,http://localhost:3000
Contenus pertinents
- demandé il y a 3 mois
- demandé il y a 7 mois
- demandé il y a 2 jours
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a un an
- Comment configurer un proxy HTTP pour Docker et l'agent de conteneur Amazon ECS for Amazon Linux 2 ?AWS OFFICIELA mis à jour il y a 4 ans