Question
You have noticed that Docker and Jenkins are regularly used together. Why is this?
Answer
1. The docker build command produces one artifact. Jenkins lends itself to well-defined tasks.
2. The logic and dependencies of the build can usually be completely contained in the Dockerfile (page 20 of Docker Up and Running). Simple lines of text can standardize many aspects of a given build (e.g.,
…