You will need Docker installed! Here is a link to get you started. Proceed after you are done installing.
Using the command (bash) prompt:
docker image pull alpine:3.17;
docker image pull ubuntu:22.04;
docker image pull jenkins/jenkins:lts-jdk11;
docker image pull nginx:1.25.1-alpine;
Once again, at the command prompt:
> docker container run --rm -d --name myjenkins -p 8080:8080 jenkins/jenkins:lts-jdk11;
> docker container logs -f myjenkins;
You should see the Jenkins logs flowing by eventually settling with the following:
Running from: /usr/share/jenkins/jenkins.war
webroot: EnvVars.masterEnvVars.get("JENKINS_HOME")
Apr 03, 2023 11:26:01 PM Main deleteWinstoneTempContents
WARNING: Failed to delete the temporary Winstone file /tmp/winstone/jenkins.war
Apr 03, 2023 11:26:01 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Logging initialized @481ms
Apr 03, 2023 11:26:01 PM winstone.Logger logInternal
INFO: Beginning extraction from war file
Apr 03, 2023 11:26:02 PM org.eclipse.jetty.util.log.JavaUtilLog warn
WARNING: Empty contextPath
# truncated for brevity
Visit http://localhost:8080 and see if you see the Jenkins login page. If you do, you are all set to go!!
# ctrl-c to break out of the logs
docker container stop myjenkins;
Woot!!!