https://github.com/cn-docker/aws-cli
AWS Cli Docker Image
https://github.com/cn-docker/aws-cli
aws aws-cli docker-image
Last synced: 15 days ago
JSON representation
AWS Cli Docker Image
- Host: GitHub
- URL: https://github.com/cn-docker/aws-cli
- Owner: cn-docker
- License: apache-2.0
- Created: 2019-11-13T16:46:11.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2026-05-22T22:57:17.000Z (22 days ago)
- Last Synced: 2026-05-23T00:27:33.480Z (22 days ago)
- Topics: aws, aws-cli, docker-image
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/cnservices/aws-cli/
- Size: 485 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# AWS Cli Docker Image
[](https://hub.docker.com/r/cnservices/aws-cli/)
[](https://hub.docker.com/r/cnservices/aws-cli/)
[](https://hub.docker.com/r/cnservices/aws-cli/)
[](https://hub.docker.com/r/cnservices/aws-cli/)
[](https://github.com/cn-docker/aws-cli)
[](https://github.com/cn-docker/aws-cli)
[](https://github.com/cn-docker/aws-cli)
[](https://github.com/cn-docker/aws-cli)
[](https://github.com/cn-docker/aws-cli)
Image containing the AWS Cli executable.
# Usage
The image is ready to execute AWS Cli commands like:
docker run cnservices/aws-cli
## To provide AWS credentials you have two alternatives:
### Using environment variables
You can use environment the variables to authenticate the AWS Cli.
docker run --env AWS_ACCESS_KEY_ID= --env AWS_SECRET_ACCESS_KEY= cnservices/aws-cli
Where:
- AWS_ACCESS_KEY_ID: Specifies an AWS access key associated with an IAM user or role.
- AWS_SECRET_ACCESS_KEY: Specifies the secret key associated with the access key. This is essentially the "password" for the access key.
### Using AWS profiles
You can use your AWS profiles to authenticate the AWS Cli.
docker run --volume ~/.aws/:/root/.aws/ cnservices/aws-cli
## Get into the container
To access the container you need to override the entry point:
docker run -ti --entrypoint sh cnservices/aws-cli