December 2017
Intermediate to advanced
364 pages
7h 30m
English
Currently, we are using Docker modules to perform container operations. A new tool, ansible-container, provides an Ansible-centric workflow for building, running, testing, and deploying containers.
This allows us to build, push, and run containers using existing playbooks. Dockerfiles are like writing shell scripts, therefore, ansible-container will allow us to codify those Dockerfiles and build them using existing playbooks rather writing complex scripts.
The ansible-container supports various orchestration tools, such as Kubernetes and OpenShift. It can also be used to push the build images to private registries such as Google Container Registry and Docker Hub.