[Exchange and share] deepinv23安装docker、nvidia-docker各种问题爬坑
Tofloor
poster avatar
Linear algebra
deepin
2023-11-28 08:19
Author

亲切问候lsb_release为什么是bookworm/std 而os-release只有deepin 最后只能用buster的库解决,见Frist
---先杠为敬:没人回答就算了,硬说体验版的啥啥啥就是你对---

Frist:如果遇到docker安装各种问题,直接参考docker-ce | 镜像站使用帮助 | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror请问 deepin v23 如何安装 docker-论坛-深度科技
!!!***!!!闭坑Docker | DeepinWiki中的安装教程

按照请问 deepin v23 如何安装 docker-论坛-深度科技 中的设置安装完docker

记得 sudo service docker status 检查安装

我安装的版本os-release信息如下:
image.png

curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add
curl -s -L https://nvidia.github.io/nvidia-docker/debian10/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list
sudo apt-get update
sudo apt-get install -y nvidia-docker2

# 重启Docker
sudo service docker restart

# 进行验证,如果能看到nvidia-smi的输出就说明环境已经全部安装成功(第一次pull镜像过程可能时间较长)
docker run --rm --gpus=all nvidia/cuda:11.8.0-cudnn8-devel-ubuntu20.04 nvidia-smi

亲测能用。

如果你用的是autodl的cg客户端,先安装完所有的docker+nd,再启动cg。(我还没试通,)
Second,没有Second。

Reply Favorite View the author
All Replies
fuuko
deepin
2023-11-28 16:44
#1

docker.io还没上v23么?这官方天天喊着搞AI,结果基础设施都不准备joy

Reply View the author
sweetyfish
deepin
2023-11-28 18:24
#2
fuuko

docker.io还没上v23么?这官方天天喊着搞AI,结果基础设施都不准备joy

v23有docker.io呀

Reply View the author
Linear algebra
deepin
2023-11-29 01:47
#3
sweetyfish

v23有docker.io呀

亲测,无

Reply View the author
sweetyfish
deepin
2023-11-29 02:02
#4
Linear algebra

亲测,无

这里面有呀

https://community-packages.deepin.com/deepin/beige/pool/community/d/docker.io/

# apt policy docker.io 
docker.io:
  已安装:(无)
  候选: 20.10.23+dfsg1-1+b3
  版本列表:
     20.10.23+dfsg1-1+b3 500
        500 https://ci.deepin.com/repo/deepin/deepin-community/stable beige/community amd64 Packages
        500 https://ci.deepin.com/repo/deepin/deepin-community/testing unstable/community amd64 Packages

Reply View the author
sweetyfish
deepin
2023-11-29 02:03
#5

只是没有nvidia-docker

Reply View the author
蓝鲸
deepin
2024-01-05 08:21
#6

确实有docker.io已安装成功。

apt policy docker.io
docker.io:
已安装:20.10.23+dfsg1-1+b3
候选: 20.10.23+dfsg1-1+b3
版本列表:
*** 20.10.23+dfsg1-1+b3 500
500 https://community-packages.deepin.com/beige beige/community amd64 Packages
500 https://proposed-packages.deepin.com/beige-testing unstable/community amd64 Packages
100 /usr/lib/dpkg-db/status
Reply View the author