Public | Automated Build

Last pushed: 7 days ago
Short Description
A base AWS + Ansible image
Full Description

Docker AWS Ansible

Create a base AWS + Ansible image.

FROM mcpayment/docker-python

To run:

docker run -it --name=docker-aws-ansible -v <.aws path>:/home/devops/.aws -v <.ssh path>:/home/devops/.ssh -v <data path>:/home/devops/data mcpayment/docker-aws-ansible

Prerequisites

  • local folder .aws, .ssh, data to be mounted inside container should be present or created

Replaced the following with your local path

  • <.aws path> - .aws folder on your local, this folder contains AWS credentials
  • <.ssh path> - .ssh folder on your local, this folder contains ssh credentials
  • <data path> - data folder on your local, this folder contains working files (AWS, Ansible scripts etc.)

To build:

docker build -t docker-aws-ansible - < Dockerfile


To fix/find out:

  • files in mounted folder have different permission
  • use virtualenv from mounted data folder
Docker Pull Command
Owner
mcpayment
Source Repository

Comments (0)