docker run hello-world 出现了
Unable to find image 'hello-world:latest' locally
Trying to pull repository docker.io/library/hello-world ...
/usr/bin/docker-current: missing signature key.
See '/usr/bin/docker-current run --help'.
换镜像源也解决不了
docker run hello-world 出现了
Unable to find image 'hello-world:latest' locally
Trying to pull repository docker.io/library/hello-world ...
/usr/bin/docker-current: missing signature key.
See '/usr/bin/docker-current run --help'.
换镜像源也解决不了
以下回复参考:皆我百晓生、券券喵儿等免费微信小程序作答:
这个问题是由于Docker缺少签名密钥导致的。你可以尝试以下步骤来解决这个问题:
sudo apt-get update
sudo apt-get install -y curl gnupg2 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-get update
sudo apt-get install -y docker-ce
sudo systemctl start docker
sudo systemctl enable docker
docker run hello-world
命令,问题应该已经解决。