A docker image for running AWS CLI commands.
287
A docker image for running AWS CLI commands.
Open aws-shell with default aws profile:
docker run --rm -it --volume "$HOME/.aws:/root/.aws" \
--volume "$(pwd):/code" carlosesilva/aws-tools
Open bash with a specific aws profile:
docker run --rm -it --volume "$HOME/.aws:/root/.aws" \
--volume "$(pwd):/code" -e AWS_PROFILE=<aws_profile> \
carlosesilva/aws-tools /bin/bash
Persist the the shell history and other things across runs:
docker run --rm -it --volume aws-tools:/root \
--volume "$HOME/.aws:/root/.aws" --volume "$(pwd):/code" \
carlosesilva/aws-tools /bin/bash
Content type
Image
Digest
Size
95.6 MB
Last updated
over 7 years ago
docker pull carlosesilva/aws-tools