Simple aws cli & s3.
Input all <>
value.
docker run \
--rm -it \
-v $(pwd):/<PATH> \
-e AWS_ACCESS_KEY_ID="<ACCESS_KEY_ID>" \
-e AWS_SECRET_ACCESS_KEY="<SECRET_ACCESS_KEY>" \
-e AWS_S3_ENDPOINT="<OPTION_S3_ENDPOINT>" \
-e SOURCE_DIR="./<PATH>" \
-e DEST_DIR="<OPTION>" \
-e AWS_S3_BUCKET="<S3_BUCKET_NAME>" \
-e AWS_REGION="us-east-1" \
-e AWS_COMMAND="sync" \
ghcr.io/docker-collection/aws-s3:latest
Input all <>
value.
Value SOURCE_DIR
and DEST_DIR
will be reverse.
docker run \
--rm -it \
-v $(pwd):/<PATH> \
-e AWS_ACCESS_KEY_ID="<ACCESS_KEY_ID>" \
-e AWS_SECRET_ACCESS_KEY="<SECRET_ACCESS_KEY>" \
-e AWS_S3_ENDPOINT="<OPTION_S3_ENDPOINT>" \
-e DEST_DIR="<DEST>" \
-e SOURCE_DIR="./<PATH>" \
-e AWS_S3_BUCKET="<S3_BUCKET_NAME>" \
-e AWS_REGION="us-east-1" \
-e AWS_COMMAND="cp" \
ghcr.io/docker-collection/aws-s3:latest
Input all <>
value.
docker run \
--rm -it \
-e AWS_ACCESS_KEY_ID="<ACCESS_KEY_ID>" \
-e AWS_SECRET_ACCESS_KEY="<SECRET_ACCESS_KEY>" \
-e AWS_S3_ENDPOINT="<OPTION_S3_ENDPOINT>" \
-e SOURCE_DIR="<OPTION>" \
-e AWS_S3_BUCKET="<S3_BUCKET_NAME>" \
-e AWS_REGION="us-east-1" \
-e AWS_COMMAND="ls" \
ghcr.io/docker-collection/aws-s3:latest