WSL2 下进入docker cli命令获取Jenkins初始密码
wsl2 下进入指定镜像的docker cli命令行:
docker exec -it 1bc881327dc1 /bin/bash
然后输入:
cat /var/jenkins_home/secrets/initialAdminPassword
wsl2 下进入指定镜像的docker cli命令行:
docker exec -it 1bc881327dc1 /bin/bash
然后输入:
cat /var/jenkins_home/secrets/initialAdminPassword