This container contains Ansible, Amazon AWS CLI and Docker.
You should mount specific config folders like ~/.aws and ~/.ansible to /root.
boto is also installed and can be configured.
Run the following command with your arguments from the root of your Ansible project.
$ docker run -it --rm -v $(pwd):/app prooph/ansible-aws-cli ansible --help
$ docker run -it --rm -v $(pwd):/app prooph/ansible-aws-cli ansible-playbook --help
$ docker run -it --rm -v ~/.aws:/root/.aws prooph/ansible-aws-cli aws help
To login to the Amazon Container Registry (ECR) with your Amazon AWS credentials use:
$ docker run -it --rm -v ~/.aws:/root/.aws -v /var/run/docker.sock:/var/run/docker.sock ansible-aws-cli aws ecr get-login --region eu-central-1 | tr -d '\r\n' | xargs xargs
Content type
Image
Digest
Size
145.6 MB
Last updated
almost 10 years ago
docker pull prooph/ansible-aws-cli