I often use docker at my workstation. It’s very comfortable. It’s already too much written about it, I won’t repeat. And let everyone choose what he wants.

At first, download docker image with a command

docker pull jenkins/Jenkins

Or you can look for another version of Jenkins here:

Second, create docker container and start it:

docker run -p 8080:8080 --name=jenkins2nd -d jenkins/jenkins

For the step number 3 you need administrative password for Jenkins. You will find it in the terminal of the container.

Administrative password for Jenkins

Open http://localhost:8080/, enter the password and install plugins for Jenkins.

At the end of the installation you need to create an Admin user

Jenkins in the beginning of work

Now you can create your Jenkins projects.