Run aws-cli without pip
Run aws command with docker.
Please clone here.
aws command, we need to prepare
aws-tools-container mounts your local
~/.aws directory to container home directory.
So, you don’t have to fix them for aws-tools-container.
Clone repository, and
$ make build $ make up $ make login ### Now, you are in container ### aws s3 ls
Default AWS credential is set
If you want to change it, please do like this:
$ export AWS_DEFAULT_PROFILE=your-profile
I prepared profile list command.
$ make list
And, this includes aws-shell .
$ make login ### aws-shell
If you want to stop container, just type this
$ make stop
Please use it!! Now we no longer need pip!!