You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#!/bin/bash# entrypoint.sh# start program
node bin/dynamodb-admin.js
# Store the PID of the background process in the variable PID
PID=$!echo"STARTED SSHD PID=${PID}"# Run a foreground process that waits for signalstrap'kill -TERM $PID' TERM INT
wait$PID
# ...# scroll to bottom of codeCOPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
3 Docker hub webpage should have link to github.
i.e, if docker container doesn't work have to go read code
The text was updated successfully, but these errors were encountered:
lfmunoz
changed the title
Docker image docs could use a lot of improvements
Docker image docs could use some improvements
Sep 12, 2023
Learned about this project, but had a difficult time getting it running. Mostly because really basic simple information wasn't easily available.
1 Document how to run docker container
I should be able to just copy paste 1 command it should work , instead of me figuring it out. Should cover the most common use case.
From top of my head it would be:
but what about environment variables? I have to read through code to figure this out.
After reading code / documentation:
docker run --rm --name dynamoui --net=host -it aaronshaf/dynamodb-admin /bin/sh -c "DYNAMO_ENDPOINT=http://localhost:4566 node bin/dynamodb-admin.js --port 8001"
2 Ctrl+C doesn't kill docker container
Add entrypoint to allow this
3 Docker hub webpage should have link to github.
i.e, if docker container doesn't work have to go read code
The text was updated successfully, but these errors were encountered: