1 個回答
- 最新
- 最多得票
- 最多評論
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
相關內容
- 已提問 1 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前