我们可以在Docker容器中更新CUDA版本9.0至10.0吗?
我是Docker的新手。我正在尝试在Docker容器中运行一个GitHub存储库。我有几个问题。
使用CUDA版本9.0创建了Docker映像。我在我的Amazon EC2实例中有Tesla T4 GPU和驱动程序版本470.129.06。我想将CUDA版本从9更新为10.0。是否可以在Docker容器内更新CUDA版本?如果是,那么我们如何更新它?您可以共享一些有用的链接吗?
每当我运行nvidia-docker run命令时,它都会进入鱼类互动壳。我希望它可以启动bash互动外壳。我不知道如何在运行docker
后进入bash shell
命令是:
nvidia-docker run -it --rm -v /Path_to_dataset:/root/data -v $Path_to_model:/root/model --ipc=host scrin/second-pytorch
我尝试添加命令中的bash但不起作用(我会遇到错误:open:no这样的文件或目录
> )。
nvidia-docker run -it --rm -v /Path_to_dataset:/root/data -v $Path_to_model:/root/model --ipc=host scrin/second-pytorch bash
我正在使用的git存储库是: https://github.com/github.com/traveller59/traveller59/second.pytorch.pytorch
如果有人可以帮助我。 先感谢您。
I am new to docker. I am trying to run one github repository in docker container. I have few questions regarding the same.
The docker image was created using CUDA version 9.0. I have Tesla T4 GPU and Driver version 470.129.06 in my amazon EC2 instance. I want to update CUDA version from 9 to 10.0. Is is possible to update cuda version inside the docker container? If yes, then How do we update it? Can you share some useful links?
Whenever I run nvidia-docker run command it enters into fish interactive shell. I want it to start bash interactive shell. I don’t know how to enter in bash shell after running docker
The command I am running is:
nvidia-docker run -it --rm -v /Path_to_dataset:/root/data -v $Path_to_model:/root/model --ipc=host scrin/second-pytorch
I tried adding bash in command but does not work (I get error: open: No such file or directory
).
nvidia-docker run -it --rm -v /Path_to_dataset:/root/data -v $Path_to_model:/root/model --ipc=host scrin/second-pytorch bash
The git repository I am using is: https://github.com/traveller59/second.pytorch
If anyone can help me.
Thank you in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我找到了解决方案。
1。
bash
,则将输入bash Interactive shell。I found the solution.
1.
bash
then it will enter in bash interactive shell.