https://github.com/raphaelbh/docker-aws-cli
Proof of concept to demonstrate how to use aws-cli and localstack with docker.
https://github.com/raphaelbh/docker-aws-cli
aws aws-cli docker docker-compose
Last synced: 3 months ago
JSON representation
Proof of concept to demonstrate how to use aws-cli and localstack with docker.
- Host: GitHub
- URL: https://github.com/raphaelbh/docker-aws-cli
- Owner: raphaelbh
- Created: 2022-02-22T22:30:40.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-24T14:59:52.000Z (over 4 years ago)
- Last Synced: 2025-07-15T07:39:31.557Z (12 months ago)
- Topics: aws, aws-cli, docker, docker-compose
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker aws-cli
[](#)
Proof of concept to demonstrate how to use aws-cli and localstack with docker.
## Requirements
[](https://www.docker.com/)
## Installation
```bash
$ docker-compose up -d
```
## Usage
```bash
alias aws='docker run --rm -it -v ~/.aws:/root/.aws -v $(pwd):/aws amazon/aws-cli'
# add `--net=host` and `--endpoint-url http://localhost:4566` to use localstack
alias aws='docker run --rm -it -v ~/.aws:/root/.aws -v $(pwd):/aws --net=host amazon/aws-cli --endpoint-url http://localhost:4566'
aws s3 mb s3://poc
aws s3 ls
```
## Tech Stack
[](https://www.docker.com/)
[](https://aws.amazon.com/)
## Reference
- https://localstack.cloud/
- https://hub.docker.com/r/amazon/aws-cli
## Feedback
If you have any feedback, please contact me at raphaeldias.ti@gmail.com
[](https://github.com/raphaelbh)
[](https://www.linkedin.com/in/raphaelbh/)