求助,docker安装就是找不到对应镜像!
Tofloor
poster avatar
pds_lxymmm
deepin
2019-11-09 06:00
Author
我是刚买的荣耀magicbook,预装的是deepin 15.5,然后今天按照https://wiki.deepin.org/wiki/Docker上的教程安装docker时,进行到第5步不成功了,但是我的报错信息是这样的。
  1. sudo add-apt-repository  "deb [arch=amd64] https://download.docker.com/linux/debian jessie stable"
  2. Traceback (most recent call last):
  3.   File "/usr/bin/add-apt-repository", line 95, in
  4.     sp = SoftwareProperties(options=options)
  5.   File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
  6.     self.reload_sourceslist()
  7.   File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
  8.     self.distro.get_sources(self.sourceslist)   
  9.   File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 93, in get_sources
  10.     (self.id, self.codename))
  11. aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Deepin/camel
Copy the Code
然后我看论坛里面的在source.list.d下新建docker.list,并添加
  1. deb [arch=amd64] https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/debian/ jessie stable

Copy the Code
但是这样还不行,还是一样找不到这个版本,这是怎么回事?请高手解答下
Reply Favorite View the author
All Replies
avatar
走钢丝
deepin
2019-11-09 06:15
#1
直接安装 sudo apt install docker-ce 不好么。最新版本可以去 docker 官网,需要运行一个脚本。网上相关教程也很多。
Reply View the author
avatar
pds_lxymmm
deepin
2019-11-09 06:28
#2
https://bbs.deepin.org/post/184896
直接安装 sudo apt install docker-ce 不好么。最新版本可以去 docker 官网,需要运行一个脚本。网上相关教 ...

醉了,原来这个版本可以不用这么麻烦,我还整了一堆。。。
Reply View the author
avatar
RucLinux
deepin
2019-11-09 09:26
#3
一般apt安装不了的,就上官网找源码包configure
Reply View the author