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
関連するコンテンツ
- AWS公式更新しました 1年前
- AWS公式更新しました 8ヶ月前
- AWS公式更新しました 1年前