wsl2 下进入指定镜像的docker cli命令行:
docker exec -it 1bc881327dc1 /bin/bash
然后输入:
cat /var/jenkins_home/secrets/initialAdminPassword
2024-02-17 21:05:58
wsl2 下进入指定镜像的docker cli命令行:
docker exec -it 1bc881327dc1 /bin/bash
然后输入:
cat /var/jenkins_home/secrets/initialAdminPassword