ygcaicn/ubuntu_qq

大佬你好,出现如下错误 Unable to find image 'bestwu/qq:office' locally

Closed this issue · 3 comments

错误如下
lzw@resplendent-star:~$ bash <(curl -L -s https://raw.githubusercontent.com/ygcaicn/ubuntu_qq/master/qq.sh)
remove ~/.local/bin/qq.sh
remove ~/.local/share/icons/hicolor/256x256/apps/WINE_TIM.png
remove ~/.local/share/applications/TIM.desktop
/dev/fd/63: 第 10 行: [: export: 需要二元表达式
Install this script to ~/.local/bin/qq.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5285 100 5285 0 0 1562 0 0:00:03 0:00:03 --:--:-- 1562
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 17039 100 17039 0 0 3133 0 0:00:05 0:00:05 --:--:-- 3451
Unable to find image 'bestwu/qq:office' locally
docker: Error response from daemon: Get https://registry-1.docker.io/v2/bestwu/qq/manifests/office: Get https://auth.docker.io/token?scope=repository%3Abestwu%2Fqq%3Apull&service=registry.docker.io: net/http: TLS handshake timeout.
See 'docker run --help'.

检测你的网络,尝试

docker run hello-world

如果还是不行,尝试换国内hub

vi /etc/docker/daemon.json

{
  "registry-mirrors": ["https://docker.mirrors.ustc.edu.cn"]
}

然后重启docker

sudo systemctl daemon-reload
sudo systemctl restart docker

上面展示的就是daemon.json的全部,目测你的docker安装的有问题,参考https://yeasy.gitbooks.io/docker_practice/install/ubuntu.html