In an ubuntu terminal (Windows 10 Home WSL2) I ran the provided code from 
the tutorial (Jenkins Essential Training):
I ran it under root

useradd jenkins -m 
docker run \
 -u jenkins \
 --rm \
 -d \
 -p 8080:8080 \
 -p 50000:50000 \
 -v /var/run/docker.sock:/var/run/docker.sock \
 -v /home/jenkins:/var/jenkins_home \
 jenkins/jenkins:lts 
cat /home/jenkins/secrets/initialAdminPassword 

I think it may have something to do with the filesystem.
When I cat /home/jenkins/secrets/initialAdminPassword
it cannot find the file.
Is there  something I should do to map the drive?


On Tuesday, February 2, 2021 at 8:05:53 PM UTC-6 slide wrote:

> What does your docker command look like?
>
> On Tue, Feb 2, 2021, 13:43 Anil <1drop...@gmail.com> wrote:
>
>> Jenkins 2.263.3 LTS Windows 10 Home Docker Windows Ubuntu 
>>
>> I am learning Jenkins and was trying to run it in a docker image.
>> I started up Docker Desktop and clicked Run on jenkins:lts
>> However when I go to localhost:8080, this is what I see, and not the 
>> Jenkins web page.
>>
>>
>> [image: Capture.PNG]
>>
>> -- 
>> 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/b3bf430d-c036-400a-8672-4ff858e782ben%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/b3bf430d-c036-400a-8672-4ff858e782ben%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/7b67ac94-64a0-4ff4-a1e2-a5febaf6b4d9n%40googlegroups.com.

Reply via email to