Jenkins is a Java app but still, the easiest way to get a running ephemeral instance of Jenkins for our example is by using Docker. With Docker installed and running on your machine, simply run:
$ docker run --rm -p 8080:8080 jenkinsci/blueocean
This instance of Jenkins won't leave behind any traces of itself once the docker container is stopped.
The logs will start appearing on your console and they will contain the password for the first login. Look for something that appears as follows:
************************************************************* ...