Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 1.32 KB

README.md

File metadata and controls

37 lines (29 loc) · 1.32 KB

docker-s3cmd

An Alpine image with s3cmd tool installed.

Current version installed is 2.0.2, but you can change this at runtime.

Supported tags and respective Dockerfile links

Usage

docker run --rm -e AWS_ACCESS_KEY_ID=xxx \
                -e AWS_SECRET_ACCESS_KEY=xxx \
                -it rbsdev/s3cmd \
                s3cmd ls
2018-08-24 14:56  s3://your-bucket-name

If you want to change the s3cmd version just pass S3CMD_VERSION environment variable at startup

docker run --rm -e AWS_ACCESS_KEY_ID=xxx \
                -e AWS_SECRET_ACCESS_KEY=xxx \
                -e S3CMD_VERSION=2.0.1 \
                -it rbsdev/s3cmd
Current Version: 2.0.2
3dbfaf0e7844:/tmp# s3cmd ls
2018-08-24 14:56  s3://your-bucket-name