Sign inSign up

pointw/aws-cli

By pointw

Updated almost 2 years ago

A simple container with Python and the latest AWS CLI

Image
Networking
Developer tools
Web servers
0

253

pointw/aws-cli repository overview

pointw/aws-cli

A simple container with Python and the latest AWS CLI

pointw/aws-cli v1.0 is built with:

  • python 3.10.4
  • awscli 1.36.0

How to use

Running this image in a container:

docker run --rm -it pointw/aws-cli

brings you straight to a command prompt where you can run aws commands.

First run aws configure, enter your access key, secret key, region, etc.

Alternately you can run with those values in environment variables:

docker run --rm -it -e "AWS_ACCESS_KEY_ID=AAAA" -e "AWS_SECRET_ACCESS_KEY=BBBB" -e "AWS_DEFAULT_REGION=us-east-2" pointw/aws-cli

(replace AAAA and BBBB with your actual access keys, of course).

You can reuse the container by dropping the --rm, saving having to always run aws configure or pass the environment variables. Or you could even build a new image based on this one with those values specified - just don't push that image anywhere public.

See also:

AWS CLI Command Reference

AWS CLI Environment Variables

Tag summary

Content type

Image

Digest

sha256:81668b529

Size

384.9 MB

Last updated

almost 2 years ago

docker pull pointw/aws-cli