메뉴 건너뛰기

조회 수 0 추천 수 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

 

 

 

 


  1. Rocky Linux 8에 docker 설치하기

    Date2024.04.23 Views0
    Read More
  2. centos 7 APM 최신버전 설치 ( mariadb 10.4 / apache 2.4.39 / php 7.3.8 )

    Date2024.02.07 Views46
    Read More
  3. No Image

    root 계정 su 명령 제한

    Date2023.01.20 Views137
    Read More
  4. No Image

    우분투 작업 스케줄러 Crontab 사용법, 디버깅, 주의 사항

    Date2023.01.12 Views154
    Read More
  5. 다중명령어(세미콜론(;), 파이프pipe(|), 더블 엔퍼센트 &&, ||)의미,사용법과 차이점

    Date2023.01.12 Views154
    Read More
  6. 기본 허가권,퍼미션 지정(제어, 설정)하기(umask와 작동 원리)

    Date2023.01.12 Views164
    Read More
  7. 작업 예약 스케줄러(크론Cron)파일,자동 백업 명령

    Date2023.01.12 Views129
    Read More
  8. No Image

    crontab 사용법

    Date2021.03.26 Views246
    Read More
  9. No Image

    재지향시 유의사항 (grep 재지향)

    Date2021.03.26 Views179
    Read More
  10. 명령어 모음

    Date2021.03.26 Views373
    Read More
  11. No Image

    split 명령어 (파일 나누기)

    Date2021.03.26 Views76663
    Read More
  12. No Image

    tar.gz 파일 묶기, 압축하기, 압축 풀기

    Date2021.03.26 Views407
    Read More
  13. No Image

    find 명령어

    Date2021.03.26 Views162
    Read More
  14. No Image

    netstat 명령어

    Date2021.03.26 Views210
    Read More
  15. CentOS ImageMagick 설치 php 연동

    Date2021.03.26 Views312
    Read More
  16. No Image

    centos 시작시 네트워크 모듈 추가

    Date2021.03.26 Views207
    Read More
  17. No Image

    centos7 sendmail 설치 및 세팅

    Date2020.12.31 Views467
    Read More
  18. CentOS 7에 Owncloud 10 설치

    Date2020.12.21 Views3147
    Read More
  19. 리눅스 vsftpd 500 OOPS 에러 (CENTOS 7)

    Date2020.03.04 Views298
    Read More
  20. No Image

    php_screw를 이용한 php 소스 암호화 하기

    Date2019.02.14 Views1420
    Read More
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 12 Next
/ 12

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

© k2s0o1d4e0s2i1g5n. All Rights Reserved