Understanding the need for automation
Once code is checked into a source code repository, the next step in a CI process is to build code and create artifacts as per the requirements to run the application. Once the artifacts are created, the artifacts are further stored in a repository and are later used by the Continuous Deployment/Delivery (CD) process to run the application. Given that the running theme in this book is to work with containers, Docker forms a key role as the OS-level virtualization platform to deploy applications in containers.
Following is an illustration of the Docker life cycle that highlights the multiple steps involved in creating container images to actually deploy containers that run the actual application:
- The developer hosts code in a source code repository. The code can be changed during the development or enhancement process.
- The source code repository can be set up to have trigger points, such as raising a pull request or merging code into...