Skip to content
RHS edited this page Feb 25, 2020 · 12 revisions

Docker 를 이용한 Jekins 설치

1. 설치

2. 명령어


1.1 docker pull jenkins

1.2 docker images

  • image 확인 명령어

1.3 docker run -d -p 8080:8080 -p 50000:50000 --name jenkins -u root jenkins/jenkins

1.4 docker ps

  • 실행여부
  • docker ps -a

1.5 http://localhost:8080

1.6 docker exec -it jenkins bash

  • container 접속

1.7 cat /var/jenkins_home/secrets/initialAdminPassword

  • password 확인

2.1 container 종료

  • docker stop [container_id]

2.2 container 삭제

  • docker rm [container_id]

Clone this wiki locally