AWS Cli Docker Image
Image containing the AWS Cli executable.
The image is ready to execute AWS Cli commands like:
docker run cnservices/aws-cli <COMMAND>
You can use environment the variables to authenticate the AWS Cli.
docker run --env AWS_ACCESS_KEY_ID=<YOUR_ACCESS_KEY> --env AWS_SECRET_ACCESS_KEY=<YOUR_SECRET_KEY> cnservices/aws-cli <COMMAND>
Where:
You can use your AWS profiles to authenticate the AWS Cli.
docker run --volume ~/.aws/:/root/.aws/ cnservices/aws-cli <COMMAND>
To access the container you need to override the entry point:
docker run -ti --entrypoint sh cnservices/aws-cli