To install Continuous integration tool Jenkins using Docker is very easy as we know Jenkins is the most known continuous integration applicationand being an open source project allows you to create our own pipeline with high flexibility. It was built in Java, so this is the main requirement we have if we want to install this tool. With Jenkins, everything is easier, even the installation. As we can spin up a Docker container with the last version with only a few commands:
docker pull jenkins
&& docker run -d -p 49001:8080 -t jenkins
The preceding command will download and create a new container with the latest Jenkins version, ready to use.