Sign inSign up

lorentzca/aws

By lorentzca

•Updated over 7 years ago

Execute AWS CLI.

Image
0

7.7K

lorentzca/aws repository overview

⁠[OBSOLATE] AWS CLI on Docker

⚠ Since there is an official docker image, please use it.

Execute aws command on Docker.

⁠Usage

Example of aws s3 ls command.

export AWS_ACCESS_KEY_ID="XXXXXXXX"
export AWS_SECRET_ACCESS_KEY="YYYYYYYY"
export AWS_DEFAULT_REGION="ZZZZZZZZ"

docker run --rm \
	-e "AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID" \
	-e "AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY" \
	-e "AWS_DEFAULT_REGION=$AWS_DEFAULT_REGION" \
	lorentzca/aws s3 ls

Tag summary

Content type

Image

Digest

Size

39.9 MB

Last updated

over 7 years ago

docker pull lorentzca/aws