memeddev/docker-aws-cli

By memeddev

Updated about 6 years ago

Amazon Linux docker image with aws-cli installed

Image
0

1.7K

memeddev/docker-aws-cli repository overview

Memed Docker AWS CLI

Amazon Linux docker image with aws-cli installed.

Source code at GitHub.

Registry at DockerHub.

Running

  1. Using credentials:
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/.aws as volume, and -e AWS_PROFILE=<some-profile> to have access to AWS API.

  1. Using env vars:
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.

Tag summary

Content type

Image

Digest

Size

421.7 MB

Last updated

about 6 years ago

Requires Docker Desktop 4.37.1 or later.