1. Docker 설치
1-1. Docker 설치 및 구동 확인
$ sudo apt update && sudo apt install \
apt-transport-https \
ca-certificates \
curl \
software-properties-common$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
$ sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"$ sudo apt update && sudo apt install docker-ce$ sudo systemctl status docker1-2. docker 명령어 실행 시 오류
1-3. 해결방법
$ sudo usermod -a -G docker [현재계정]# 현재 사용자가 속한 그룹 확인
$ groups
# [사용자 아이디]가 속한 그룹 확인
$ groups [사용자 아이디] 2. Docker Compose 설치
$ sudo curl -L "https://github.com/docker/compose/releases/download/1.24.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose$ sudo chmod +x /usr/local/bin/docker-compose> [작업로그] CI/CD 구축 #1 - CI/CD 시나리오
> [작업로그] CI/CD 구축 #3 - BitBucket 설정 및 Jenkins 설치
> [작업로그] CI/CD 구축 #4 - Jenkins Item 등록 및 Pipeline 작성
> [작업로그] CI/CD 구축 #5 - sonarqube 설치 및 pipeline 작성