python – Nvidia Theano docker图片不可用

前端之家收集整理的这篇文章主要介绍了python – Nvidia Theano docker图片不可用前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

试图运行docker命令:

nvidia-docker run -d -p 8888:8888  -e PASSWORD="123abcChangeThis" theano_secure start-notebook.sh
# Then open your browser at http://HOST:8888

取自https://github.com/nouiz/Theano-Docker

返回错误

Error: image library/theano_secure:latest not found

出现theano_secure图像目前不可用?

正在搜索theano_secure:

$nvidia-docker search theano_secure:latest
NAME      DESCRIPTION   STARS     OFFICIAL   AUTOMATED

此命令的返回为空,因此图像不可用?
如果是这样,还有来自nvidia的替代Theano码头图片

更新:

从源头建设:

docker build -t theano_secure -f  Dockerfile.0.8.X.jupyter.cuda.secure . 

回报:

Err http://developer.download.nvidia.com  Release.gpg
  Unable to connect to developer.download.nvidia.com:http: [IP: 184.24.98.231 80]

并且:

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease

手动检查网址:http://developer.download.nvidia.com& http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease都不可用.我应该使用替代docker文件构建?

更新2:

我认为这个错误正在发生,因为http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease不存在.但是http://archive.ubuntu.com/ubuntu/dists/trusty/Release确实存在.

可以修改docker以使用http://archive.ubuntu.com/ubuntu/dists/trusty/Release而不是http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease吗?

OS版本:

lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.4 LTS
Release:    14.04
Codename:   trusty

更新3:

“你应该首先建造Docker”,在nvidia-docker运行之前“我确实试过了

docker build -t theano_secure -f  Dockerfile.0.8.X.jupyter.cuda.secure . 

返回:

Err http://developer.download.nvidia.com  Release.gpg Unable to connect to developer.download.nvidia.com:http: [IP: 184.24.98.231 80] 

我可以拉图像docker pull kaixhin / theano,但这不是通过Jupyter笔记本运行,就像nvidia-docker run -it -p 8888:8888 tensorflow / tensorflow:latest-gpu记录于https://hub.docker.com/r/tensorflow/tensorflow/.似乎没有可用的码头工Jupyter Theano容器.

如何通过Jupyter笔记本暴露docker实例kaixhin / theano?

我试过:nvidia-docker run -d -p 8893:8893 -v –name theano2 kaixhin / theano start-notebook.sh但收到错误

    docker: Error response from daemon: invalid header field value "oci runtime error: container_linux.go:247: 
starting container process caused \"exec: \\\"start-notebook.sh\\\": executable file not found in $PATH\"\n".

修改kaixhin / theano docker容器以便通过Jupyter笔记本曝光?

最佳答案
Error: image library/theano_secure:latest not found

因为theano_secure不喜欢ubuntu,centos,它不是docker hub上的官方存储库,所以你需要自己构建它.

Err http://developer.download.nvidia.com  Release.gpg Unable to connect to developer.download.nvidia.com:http: [IP: 184.24.98.231 80]

请先检查您的网络连接,telnet 184.24.98.231 80.

也许你在一个有限的网络位置,尝试在代理后面再次这样做.你可能想看看如何build image behind a proxy.

原文链接:https://www.f2er.com/docker/435762.html

猜你在找的Docker相关文章