메뉴 건너뛰기

조회 수 4 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 첨부
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 첨부

. 사전 패키지 설치

설치는 인터넷이 가능한 환경 하에서 진행한다. (폐쇄망 설치법은 추후 업데이트 예정)

 

DNS 서버 등록

echo "nameserver 168.126.63.1" >> /etc/resolv.conf
  • 이미 DNS 설정이 되어 있다면 skip..

 

dnf-utils 설치

dnf install -y dnf-utils

 

 

 

 

docker 레포지토리 추가

dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo

 

 

 

 

리포리스트 확인

dnf repolist -v

 

 

 

2. Docker 설치

dnf로 install을 설치하면 아래와 같이 오류가 발생한다.

기본적으로 RHEL 계열 8버전 부터는 컨테이너 관리 엔진을 docker에서 podman/buildah/skopeo로 변경 되었다.

[root@rocky-test-001 ~]# dnf install -y docker-ce
마지막 메타자료 만료확인(0:01:51 이전): 2023년 12월 22일 (금) 오후 03시 41분 50초.
오류: 
 문제: package docker-ce-3:24.0.7-1.el8.x86_64 from docker-ce-stable requires containerd.io >= 1.6.4, but none of the providers can be installed
  - package containerd.io-1.6.10-3.1.el8.x86_64 from docker-ce-stable conflicts with runc provided by runc-1:1.1.9-1.module+el8.9.0+1420+91577025.x86_64 from appstream
  - package containerd.io-1.6.10-3.1.el8.x86_64 from docker-ce-stable obsoletes runc provided by runc-1:1.1.9-1.module+el8.9.0+1420+91577025.x86_64 from appstream
 (...중략...) 
  - 작업에 가장 적합한 선택을 설치 할 수 없습니다
  - package runc-1.0.0-56.rc5.dev.git2abd837.module+el8.5.0+681+c9a1951f.x86_64 from appstream is filtered out by modular filtering
  - package runc-1.0.0-66.rc10.module+el8.5.0+770+e2f49861.x86_64 from appstream is filtered out by modular filtering
  - package runc-1.0.0-73.rc95.module+el8.7.0+1152+ac778627.x86_64 from appstream is filtered out by modular filtering
  - package runc-1:1.1.5-2.module+el8.9.0+1445+07728297.x86_64 from appstream is filtered out by modular filtering
(충돌하는 꾸러미를 교체하려면 명령줄에 '--allowerasing'을 추가하세요 또는 '--skip-broken'는 설치 할 수 없는 꾸러미를 건너 뜁니다 또는 '--nobest'는 최적 후보의 꾸러미만 사용합니다)

 

 

충돌하는 패키지를 삭제하면서 설치해야 되기 때문에 --allowerasing 옵션을 사용해야 한다. 

dnf install -y docker-ce --allowerasing

 

 

 

 

3. 설치 확인 및 실행

버전 및 systemctl로 확인한다.

docker --version

 

 

 

systemctl status docker

 

 

 

 

서비스 enable 및 시작

systemctl enable docker
systemctl start docker

 

 

 

 


List of Articles
번호 제목 날짜 조회 수
237 & 실행과 nohup 실행 2017.04.18 7841
236 AIDE를 이용한 리눅스 파일 시스템의 무결성 점검 2014.03.26 8555
235 apache + mysql 자동 실행 방법 (소스설치) 2014.02.27 7966
234 Apache 2.2.17 + WebLogic 10.3.3 연동하기 2016.11.22 8798
233 Apache 2.x 에서 maxclients 1024 제한 초과 방법 (수정 중..) 2016.03.18 8558
232 Apache Mod_Security 사용방법 2016.04.22 8922
231 apache status 모듈 ( 모니터링 ) 2014.02.27 8501
230 apache vhost deny 설정 2014.03.26 7587
229 apache 구동중지되어있을 때 재구동 스크립트 2016.03.18 7373
228 Apache 동시접속자수 확인 2019.02.14 1932
227 apache 로그정리 (logrotate) 2014.02.27 7453
226 Apache 리다이렉트 2016.03.18 8155
225 Apache 웹서버 server-status 모니터링 2014.02.27 8074
224 Apache 웹서버 server-status 모니터링 file 2014.03.26 6954
223 apache 컴파일시 동시 접속자 제한 변경하기 2014.03.26 8157
222 Apache 환경 설정 파일 정보 (httpd.conf) 2016.09.19 7472
221 Apache(아파치)를 사용해 redirect(리다이렉트) 하는 방법 7 2014.02.27 7667
220 apache, mod_ssl 설치 (apache 1.3.37버전) 2014.02.27 7667
219 APACHE, OHS 400 웹로직 연동후 특정 작업에 400 error 2016.12.30 8646
218 apache2 트래픽 모듈 mod_cband 사용법 2019.02.14 1129
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 12 Next
/ 12

하단 정보를 입력할 수 있습니다

© k2s0o1d4e0s2i1g5n. All Rights Reserved