Docker Collection
Why:
- We want to add features to the existing Ansible collection that is used to directly manage Docker containers
- So that developers can use Ansible to take full advantage of the features that Docker offers
How:
- By adding new modules to the existing community Ansible Docker collection
- Specifically, we are working on adding a module to copy files out of a Docker container and onto the filesystem of the host that the container is running on
Context:
- Ansible is a popular, open-source tool that is used to manage hosts, applications, and 3rd party platforms
- Basically, a way to automate the infrastructure required to run your code
- Docker is a popular, open-source tool that is used to run code inside of "containers"
- Containers are a way to isolate and encapsulate code so it can be easily moved to new platforms
- Containers can also be scaled to handle larger workloads by creating multiple instances of the same container description, or "image"
Code: