Sign inSign up

mikaint/awscli

By mikaint

Updated about 7 years ago

Image
0

2.4K

mikaint/awscli repository overview

Build Status

AWS CLI (dockerized)

A docker image with AWS CLI installed.

Configuration

The first step in order to use AWS CLI image is to set the required environmental variables to be used in the container.

cp .env.dist .env

Edit .env file with your values (can be obtained from AWS IAM)

How to use

Default command is --version so if you run

docker run mikaint/awscli

you'll get something like

aws-cli/1.16.216 Python/2.7.16 Linux/4.9.184-linuxkit botocore/1.12.206

The above command will run even without setting your configuration values as it will not make a request to AWS

In order to run any other command that will make a request to AWS you'll need to specify your file that contains the configuration values

docker run --env-file=.env mikaint/awscli ec2 describe-instances

For a full list of available commands please check the official AWS CLI documentation page

Tag summary

Content type

Image

Digest

Size

38.1 MB

Last updated

about 7 years ago

docker pull mikaint/awscli