본문 바로가기
Container/Docker

CentOS7.7-Missing a signature key:Docker CE버전설치

by ccclog 2023. 11. 29.
반응형

[root@localhost ~]# systemctl status docker
● docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
   Active: active (running) since Mon 2023-11-27 21:31:36 EST; 21h ago
     Docs: http://docs.docker.com
 Main PID: 137337 (dockerd-current)
    Tasks: 138
   CGroup: /system.slice/docker.service
           ├─137337 /usr/bin/dockerd-current --add-runtime docker-runc=/usr/libexec/docker/docker-runc-current --default-runtime=docker-runc --exec-opt native.cgroupdriver=system...
           └─137361 /usr/bin/docker-containerd-current -l unix:///var/run/docker/libcontainerd/docker-containerd.sock --metrics-interval=0 --start-timeout 2m --state-dir /var/run...

Nov 27 21:31:35 localhost.localdomain dockerd-current[137337]: time="2023-11-27T21:31:35.937198297-05:00" level=info msg="Default bridge (docker0) is assigned with an IP... address"
Nov 27 21:31:36 localhost.localdomain dockerd-current[137337]: time="2023-11-27T21:31:36.098342500-05:00" level=info msg="Loading containers: done."
Nov 27 21:31:36 localhost.localdomain dockerd-current[137337]: time="2023-11-27T21:31:36.466668890-05:00" level=info msg="Daemon has completed initialization"
Nov 27 21:31:36 localhost.localdomain dockerd-current[137337]: time="2023-11-27T21:31:36.466715051-05:00" level=info msg="Docker daemon" commit="7d71120/1.13.1" graphdri...on=1.13.1
Nov 27 21:31:36 localhost.localdomain dockerd-current[137337]: time="2023-11-27T21:31:36.477009955-05:00" level=info msg="API listen on /var/run/docker.sock"
Nov 27 21:31:36 localhost.localdomain systemd[1]: Started Docker Application Container Engine.
Nov 27 21:31:57 localhost.localdomain dockerd-current[137337]: time="2023-11-27T21:31:57.563961126-05:00" level=error msg="Error trying v2 registry: missing signature key"
Nov 27 21:31:57 localhost.localdomain dockerd-current[137337]: time="2023-11-27T21:31:57.564035899-05:00" level=error msg="Attempting next endpoint for pull after error:...ture key"
Nov 27 21:32:09 localhost.localdomain dockerd-current[137337]: time="2023-11-27T21:32:09.993224822-05:00" level=error msg="Error trying v2 registry: missing signature key"
Nov 27 21:32:09 localhost.localdomain dockerd-current[137337]: time="2023-11-27T21:32:09.993997330-05:00" level=error msg="Attempting next endpoint for pull after error:...ture key"
Hint: Some lines were ellipsized, use -l to show in full.

[root@localhost ~]# docker pull ubuntu
Using default tag: latest
Trying to pull repository docker.io/library/ubuntu ...
**missing signature key**
=> 최신버전이 아님으로 발생하는 문제로 확인


https://docs.docker.com/engine/install/centos/#installation-methods
# CE 버전 repository 등록 및 설치. 
$ sudo yum install -y yum-utils
$ sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
$ sudo yum install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

 

<Docker관련글>

Docker란?
Docker --help
Docker image 업로드 방법.
Docker 기본 커맨드
Docker 컨테이너 생성/진입 후 OS 정보 확인.
Docker 컨테이너에서 Nvidia driver
Docker 컨테이너별로 Nvidia GPU 분할방법 2가지
Docker Container Kernel 문제.
CentOS7.7-Missing a signature key:Docker CE버전설치

반응형