Amazon Linux docker image with aws-cli installed
1.7K
Amazon Linux docker image with aws-cli installed.
docker run -it \
-v $HOME/.aws:/root/.aws \
-e AWS_PROFILE=<some-profile> \
memeddev/docker-aws-cli:0.7.0 aws s3 ls
For security reasons, the image does not contains AWS Credentials. Therefore, user must pass
$HOME/.awsas volume, and-e AWS_PROFILE=<some-profile>to have access to AWS API.
docker run -it \
-e AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID \
-e AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY \
memeddev/docker-aws-cli:0.7.0 aws s3 ls
More information about authentication at AWS CLI Docs.
Content type
Image
Digest
Size
421.7 MB
Last updated
about 6 years ago
Requires Docker Desktop 4.37.1 or later.