win10 Docker Error response 无法联网pull 解决方案
Win下---基于Docker---安装caffehttps://blog.csdn.net/qq_15192373/article/details/79132621从零开始用docker 搭建tensorflow gpu 环境https://blog.csdn.net/qq_37341836/article/details/80303357windows下安装caffe,各...
Win下---基于Docker---安装caffe
https://blog.csdn.net/qq_15192373/article/details/79132621
从零开始用docker 搭建tensorflow gpu 环境
https://blog.csdn.net/qq_37341836/article/details/80303357
windows下安装caffe,各种依赖关系较为复杂,使用Docker安装较为方便。
Windows下使用docker装TensorFlow小记
https://blog.csdn.net/seymour163/article/details/53236947
一、Docker安装
1. 安装包位置(二选一):
a) https://github.com/boot2docker/windows-installer/releases (这个地址国内下载很慢)
b) https://get.daocloud.io/toolbox/
下载最新版本的:docker-install.exe即可。
C:\Program Files\Docker Toolbox
测试pull:
docker pull fbcotter/docker-tensorflow-opencv:gpu
提示错误,无法pull
Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker
解决方案:
我在Windows 8上遇到了同样的错误。它是通过以下2个建议修复的!首先重启docker并更新环境2.1k
$ docker-machine restart default # Restart the environment
$ eval $(docker-machine env default) # Refresh your environment settings
这将在您的控制面板中创建更多虚拟连接。
接下来创建一个帐户@ hub.docker.com 411 并在控制台中登录 docker 466:
$ docker login
现在您可以从hub中提取镜像。
实际操作:
docker-machine restart default
eval $(docker-machine env default)
docker login
docker pull fbcotter/docker-tensorflow-opencv:gpu
docker images
docker-tensorflow-opencv
Containter with Tensorflow 1.8 (possible GPU enabled version too), OpenCV 3.4.1 and Python 3.5
https://hub.docker.com/r/fbcotter/docker-tensorflow-opencv/
参考链接:
https://forums.docker.com/t/error-response-from-daemon-get-https-registry-1-docker-io-v2/23741/10
更多推荐
所有评论(0)