Public | Automated Build

Last pushed: 19 days ago
Short Description
Run the awscli in a "slim" Alpine based container.
Full Description

AWS Command Line Interface


Runs the awscli in an Alpine based docker image.

Versions

Currently avaliable versions (by tag).

  • latest - awscli version 1.9.15
  • 1.9.15 - awscli version 1.9.15

Usage

The image sets the entrypoint as "aws" so you can run commands from there

docker run \
  -it \
  --rm \
  --volume $HOME/.aws:/root/.aws \
  technekes/awscli \
  ec2 describe-instances

Bonus: To simplify things you can create an alias

alias awscli="docker run \
  -it \
  --rm \
  --volume $HOME/.aws:/root/.aws \
  technekes/awscli"

Now simply reference the new alias:

> awscli --version
aws-cli/1.9.15 Python/2.7.10 Linux/4.1.12-boot2docker botocore/1.3.15
Docker Pull Command
Owner
technekes
Source Repository

Comments (0)