Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Jenkins Docker에 설치 확인

docker ps

Accessing the Jenkins Docker container

docker container exec -it jenkins bash

Accessing the Jenkins console log through Docker logs

docker container logs jenkins 

To Unlocking Jenkins

Find init password

Go To inside docker

...

Jenkins docker 주요 명령어

Jenkins 실행

docker start jenkins

Jenkins 정지

docker stop jenkins

Jenkins 로그 확인

docker logs jenkins 

Jenkins container 삭제

도커 정지: docker stop jenkins

도커 컨테이너 삭제: docker rm jenkins

Jenkins image 삭제

  • Jenkins 컨테이너 삭제

  • docker images에서 jenkins ImageID 검색

  • docker rmi {Jenkins Image ID}

...

젠킨스 초기 설치

초기 비밀번호 확인

젠킨스 도커 bash로 진입

docker container exec -it jenkins bash

 

Write

vi Jenkins 초기 어드민 비밀번호 확인

cat /var/jenkins_home/secrets/initialAdminPassword

...

 

Open Jenkins

type initial password

...

접속 → 초기 비밀번호 입력

...

플러그인 설치