Execute an Amazon AWS CLI command using your credentials without installing the AWS CLI.
1.3K
This small image based on the Alpine distro that is useful for downloading files from S3 on CoreOS systems that only act as docker engines.
Source code: https://github.com/jlinoff/docker-images/tree/master/awscli.
All work for copying is done to the /mnt/share volume. The boto credentials are passed in a /etc/boto.cfg.
$ docker run -it --rm -v $(pwd):/mnt/share -v ~/.boto:/etc/boto.cfg jlinoff/awscli aws s3 cp s3://foo/bar.dat .
$ ls -1 bar.dat
bar.dat
Content type
Image
Digest
Size
31.4 MB
Last updated
almost 9 years ago
docker pull jlinoff/awscli