Surya.dev
Published on

Docker Cheetsheet

Authors

Jenkins is one of the premier build servers, and Docker is the new frontier for application development and delivery. In this blog, I try to learn how to run Jenkins in Docker and how to leverage container technologies to solve Jenkins problems.

I got this question from a DevOps interview session.

What's the fundamental difference between a virtual machine and a container?

The first thing we need to understand is the basic difference between virtual machines and Docker containers.

Pull a Jenkins LTS image from DockerHub

Get it running quickly

Modify our docker run command

Tweak some Jenkins options