Jenkins console log is easily accessible through the terminal/command prompt window from which you ran this Docker command. 

Otherwise, you can access the Jenkins console log through the Docker logs of the jenkinsci/blueocean  container using the following command: 

docker logs <docker-container-name> 

Your <docker-container-name>  can be obtained using the docker ps  command. If you specified the --name jenkins-blueocean  option in the docker run …  command above (see also Accessing the Jenkins/Blue Ocean Docker container), you can simply use the docker logs  command: 

docker logs jenkins-blueocean 

## Accessing the Jenkins home directory 

There is a possibility you may need to access the Jenkins home directory, for instance, to check the details of a Jenkins build in the workspace  subdirectory. 

If you mapped the Jenkins home directory ( /var/jenkins_home ) to one on your machine’s local file system (i.e. in the docker run …  command above), then you can access the contents of this directory through your machine’s usual terminal/command prompt. 

Otherwise, if you specified the -v jenkins-data:/var/jenkins_home  option in the docker run … command, you can access the contents of the Jenkins home directory through the jenkinsci/blueocean  container’s terminal/command prompt using the docker exec  command: 

docker exec -it <docker-container-name> bash 

As mentioned above, your <docker-container-name>  can be obtained using the docker ps  command. 

If you specified the --name jenkins-blueocean  option in the docker run …  command above (see also Accessing the Jenkins/Blue Ocean Docker container), you can simply use the docker exec  command: 

docker exec -it jenkins-blueocean bash 

## WAR file 

The Web application ARchive (WAR) file version of Jenkins can be installed on any operating system or platform that supports Java. 

## To download and run the WAR file version of Jenkins: 

1. Download the latest stable Jenkins WAR file to an appropriate directory on your machine. 

2. Open up a terminal/command prompt window to the download directory. 

3. Run the command java -jar jenkins.war . 

4. Browse to localhost:8080  and wait until the Unlock Jenkins  page appears. 

5. Continue on with the Post-installation setup wizard below. 

## Notes: 

