Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Run the awscli in a Alpine base Docker container

License

Notifications You must be signed in to change notification settings

telus-agcg-archive/docker-awscli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Run the awscli in a Alpine base Docker container

Resources

License

Stars

Watchers

Forks

Packages

No packages published