Skip to content

Instantly share code, notes, and snippets.

@saggie
Created September 21, 2022 04:48
Show Gist options
  • Save saggie/a454f71fe97349f4056e3939988491d7 to your computer and use it in GitHub Desktop.
Save saggie/a454f71fe97349f4056e3939988491d7 to your computer and use it in GitHub Desktop.
Run AWS CLI via Docker
$ docker pull amazon/aws-cli:2.7.33

$ alias aws_2.7='docker run --rm -it -v ~/.aws:/root/.aws amazon/aws-cli:2.7.33'

$ aws_2.7 --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment