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 공식업데이트됨 일 년 전
- AWS 공식업데이트됨 일 년 전
- AWS 공식업데이트됨 일 년 전