마주쳤던 에러 해결 모음
docker jenkins 설치 후 초기 비밀번호 찾는 방법
문자메일
2022. 9. 24. 05:22
1. 방법 : 아래 명령어로 도커 컨테이너에 직접 접속해 파일에서 확인하는 방법
명령 : docker exec <CONTAINER_NAME> cat /var/jenkins_home/secrets/initialAdminPassword
2. 방법 : docker logs <CONTAINER_NAME>
명령 입력해서 찾는 방법
Unlock Jenkins
To ensure Jenkins is securely set up by the administrator, a password has been written to the log (not sure where to find it?) and this file on the server:
/var/jenkins_home/secrets/initialAdminPassword
Please copy the password from either location and paste it below.
ERROR: The password entered is incorrect, please check the file for the correct password