Running Jenkins in Docker on Windows 7 - missing info on Getting started with the Guided Tour page

20 views
Skip to first unread message

Tony C

unread,
Aug 30, 2018, 7:53:09 PM8/30/18
to Jenkins Users

Under Prerequisites,

I've just installed the Docker toolbox on Windows 7 as directed by this page:


Under Download and run Jenkins
downloading jenkins.war is outside of Docker.

How do you download & run jenkins.war INSIDE of the Docker image?

I think there is a huge disconnect on this page.- >https://jenkins.io/doc/pipeline/tour/getting-started/

Mark Waite

unread,
Aug 31, 2018, 12:21:42 AM8/31/18
to jenkins...@googlegroups.com
The example intentionally has you run Jenkins without using Docker.  The requirement for Docker comes in later steps of that tutorial.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/89d2025f-efe6-48e9-ad36-be4a547efc3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Tony C

unread,
Sep 1, 2018, 8:34:22 AM9/1/18
to Jenkins Users
That tutorial states that Docker requires Windows 10, and that installing the Docker Toolbox on Windows 7 and other platforms, is a required. workaround.

Mark Waite

unread,
Sep 1, 2018, 1:32:46 PM9/1/18
to jenkins...@googlegroups.com
Docker on Windows requires Windows 10.  Running Docker on Windows 7 requires a workaround.  The tutorial is stating correct information.

It is also correct to perform the steps as described in the tutorial.  The tutorial says:

Download and run Jenkins

  1. Download Jenkins.

  2. Open up a terminal in the download directory.

  3. Run java -jar jenkins.war --httpPort=8080.

  4. Browse to http://localhost:8080.

  5. Follow the instructions to complete the installation.


The Jenkins executable file (jenkins.war) is downloaded (by the browser of your choice or wget or curl or another program).  Open a Windows command prompt window (terminal) in the download directory.  Assure that Java 8 is the Java version you're running (`java -version`).  Run java -jar jenkins.war

Once that is running, open a web browser to http://localhost:8080/ 

None of those steps have involved Docker in any way.  The requirement for Docker comes later in the tutorial.  The tutorial is trying to state all the requirements in advance.  Those first 5 steps don't use Docker.

Thanks!
Mark Waite

Reply all
Reply to author
Forward
0 new messages