rhamdeew/s3cmd
Alpine-based Docker image for s3cmd
15
Alpine-based Docker image for s3cmd
Example of usage:
docker run --rm -v /host_data:/s3 -v ~/.s3cfg:/root/.s3cfg rhamdeew/s3cmd --no-check-certificate --acl-private --guess-mime-type --delete-after sync /s3 s3://remotebucket/
~/.s3cfg
is a s3cmd config on host machine. Please check s3cmd documentation/host_data
is a directory to sync on host machines3://remotebucket/
is a remote bucket nameExample of .s3cfg
[default]
access_key = 6c341bdd3ce14eb88b1c8e5300c4e88a
secret_key = 4abe3af4d7a74c858a32131dcf573335
bucket_location = us-1
host_base = s3.example.com
host_bucket = s3.example.com
docker pull rhamdeew/s3cmd