Small docker container to sync s3 buckets easily.
2.2K
A lightweight container which synchronizes a directory or s3 bucket with a directory or s3 bucket at a specified interval.
The region of the destination bucket
You know the drill
Options passed after the aws part of the command
Options passed after the sync part of the command
Either a directory or an s3 bucket (e.g. /foo or s3://foo)
Either a directory or an s3 bucket (e.g. /bar or s3://bar)
The length of seconds to wait before running the sync command again. Set this value to 0 to turn off this functionality.
ENTRYPOINT ["/entrypoint.sh"] CMD ["aws $AWS_OPTIONS s3 sync $AWS_SYNC_OPTIONS $SOURCE_LOCATION $DEST_LOCATION"]
docker run -ti \ -e AWS_ACCESS_KEY_ID \ -e AWS_SECRET_ACCESS_KEY \ -e AWS_SESSION_TOKEN \ -e SOURCE_LOCATION=/foo \ -e DEST_LOCATION=s3:/foo \ firespring/s3-sync
Content type
Image
Digest
Size
31.1 MB
Last updated
over 8 years ago
docker pull firespring/s3-sync