方法一:
1、docker exec 容器id cat /var/jenkins_home/secrets/initialAdminPassword
方法二:
1、docker exec -u 0 -it 容器id /bin/bash
2、cat /var/jenkins_home/secrets/initialAdminPassword
方法一:
1、docker exec 容器id cat /var/jenkins_home/secrets/initialAdminPassword
方法二:
1、docker exec -u 0 -it 容器id /bin/bash
2、cat /var/jenkins_home/secrets/initialAdminPassword