On macOS and Linux 1. Open up a terminal window. 2. Download the  jenkinsci/blueocean  image and run it as a container in Docker using the following docker run  command: docker run \  -u root \  --rm \ ①  -d \  ②  -p 8080:8080 \  ③  -v jenkins-data:/var/jenkins_home \  ④  -v /var/run/docker.sock:/var/run/docker.sock \  jenkinsci/blueocean  ⑤ ① (  Optional  ) Automatically removes the Docker container (which is the instantiation of the jenkinsci/blueocean  image below) when it is shut down. This keeps things tidy if you need to quit Jenkins. ② (  Optional  ) Runs the  jenkinsci/blueocean  container in the background (i.e. "detached" mode) and outputs the container ID. If you do not specify this option, then the running Docker log for this container is output in the terminal window. ③ Makes (i.e. "publishes") port 8080 of the  jenkinsci/blueocean  container to port 8080 on the host machine. The 1st number represents the port on the host while the 2nd represents the container’s port. Therefore, if you specified  -p 49001:8080  for this option, you would be accessing Jenkins on your host machine through port 49001. ④ Maps the  /var/jenkins_home  directory in the container to the Docker volume with the name jenkins-data . If this volume does not exist, then this  docker run  command will automatically create the volume for you. Notes:  This volume could also be created independently using the  docker volume create command: ⑤ The  jenkinsci/blueocean  Docker image itself. If this image has not already been downloaded, then this  docker run  command will automtically download the image for you. Furthermore, if any updates to this image were published since you last ran this command, then running this command again will automatically download these published image updates for you. Note:  This Docker image could also be downloaded (or updated) independently using the docker pull  command: docker pull jenkinsci/blueocean docker volume create jenkins-data Instead of mapping the  /var/jenkins_home  directory to a Docker volume, you could also map this directory to one on your machine’s local file system. For example, specifying the option -v $HOME/jenkins:/var/jenkins_home  would map the container’s  /var/jenkins_home  directory to the  jenkins  subdirectory within the  $HOME  directory on your local machine, which would typically be  /Users/<your-username>/jenkins  or  /home/<your-username>/jenkins . Note:  If copying and pasting the command snippet above does not work, try copying and pasting this annotation-free version here: 5