Skip to content

raphaelbh/docker-aws-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Docker aws-cli

Project Status

Proof of concept to demonstrate how to use aws-cli and localstack with docker.

Requirements

docker

Installation

$ docker-compose up -d

Usage

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

docker aws

Reference

Feedback

If you have any feedback, please contact me at raphaeldias.ti@gmail.com

github linkedin

About

Proof of concept to demonstrate how to use aws-cli and localstack with docker.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors