Docker for running AWS CLI commands
This is so that you can have both versions of the AWS cli handy without breaking your pip installs
I recomend adding the lines below to your .bashrc or .zshrc
export AWS_PROFILE='default'
export AWS_DEFAULT_REGION='us-east-1'
alias aws1='docker run -it --rm -e AWS_PROFILE=$AWS_PROFILE -e AWS_DEFAULT_REGION=$AWS_DEFAULT_REGION -v $HOME/.aws:/root/.aws pwed/awscli:1 aws'
alias aws2='docker run -it --rm -e AWS_PROFILE=$AWS_PROFILE -e AWS_DEFAULT_REGION=$AWS_DEFAULT_REGION -v $HOME/.aws:/root/.aws pwed/awscli:2'
Content type
Image
Digest
Size
104.8 MB
Last updated
over 4 years ago
docker pull pwed/awscli