How do I get initial admin password for jenkins on Mac?

前端 未结 13 1868
借酒劲吻你
借酒劲吻你 2020-12-24 11:12

I installed jenkins by downloading jenkins-2.2.pkg. After the installation is complete, Chrome auto-connected to http://localhost:8080/login?from=%2F and I see

13条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-24 11:51

    In my case, I was looking for this on MY MAC, but what you actually have to do is ssh to your docker container.

    docker ps
    

    which will display the containers, then copy the id of the container you created,

    then do

    docker exec -it  /bin/bash
    

    If that's successful, you will see your terminal change to, then you can run:

    cat 
    

提交回复
热议问题