解决docker missing signature key

可能是由于docker版本过旧

 

yum remove docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-engine

yum install -y yum-utils

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

yum install docker-ce docker-ce-cli containerd.io

docker --version

systemctl start docker

systemctl enable docker   //开机自动启动docker

 

posted @ 2024-05-24 15:13  陈扬天  阅读(1393)  评论(0编辑  收藏  举报