Search code examples
windowsjenkinsinstallationserveraccount

How to install Jenkins on Windows Home


When I try give my account to Jenkins for it being able to login the error pops out. I've researched it a bit and it seems that the problem is that I have Windows Home. Is there any way to run it on my os?

enter image description here


Solution

  • It is possible to run Jenkins using Docker since Docker uses WSL. Download installation file named Docker by this link:

    https://www.jenkins.io/download/
    

    Then run our container:

    docker run -d -p 8080:8080 -p 50000:50000 --name my_jenkins jenkins/jenkins
    

    After running the container in your browser go to:

    localhost:8080
    

    Then to unlock Jenkins use this command and enter into Jenkins output that looks something like this d7383b6a8d7149cc87d481c7ddb9412d:

    docker exec my_jenkins cat /var/jenkins_home/secrets/initialAdminPassword
    

    After that configurating steps are fairly easy.