Nvidia Theano docker镜像不可用。

5
尝试运行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镜像的替代方案?
更新: 从源代码构建:
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

手动检查URL: http://developer.download.nvidia.comhttp://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?

操作系统版本:

lsb_release -a

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

更新3:

在运行nvidia-docker之前,您需要首先进行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 Notebook运行,就像在https://hub.docker.com/r/tensorflow/tensorflow/上记录的nvidia-docker run -it -p 8888:8888 tensorflow/tensorflow:latest-gpu那样。似乎没有可用的Docker Jupyter Theano容器。

如何通过Jupyter Notebook暴露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笔记本公开它?

你需要按照 README 的说明自己构建 theano_secure 镜像:docker build -t theano_secure -f Dockerfile.0.8.X.jupyter.cuda.secure . - gjtempleton
@gjtempleton,请查看更新。 - blue-sky
2个回答

2
Error: image library/theano_secure:latest not found

由于 theano_secure 不支持 ubuntucentos,在 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
也许您在一个受限制的网络环境中,请尝试在代理后再次进行操作。您可能需要了解如何在代理后构建镜像

1

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接