deepin 的官方教程可在 ?https://wiki.deepin.org/wiki/Docker ?查看
需要注意的地方:
? ? 1.在 source.list 中添加 docker-ce 軟件源這個(gè)地方烟很,要先根據(jù)自己的系統(tǒng)版本找到對(duì)應(yīng)的docker版本
? ?然后,不要執(zhí)行 sudo add-apt-repository ?命令,直接執(zhí)行就報(bào)找不到對(duì)應(yīng)的鏡像
到/etc/source.list中无牵。復(fù)制自己的鏡像路徑"deb [arch=amd64] https://mirrors.ustc.edu.cn/docker-ce/linux/debian stretch stable"這個(gè)是我的
到source.list中
? ? 然后直接執(zhí)行 sudo apt-get update即可施戴。
2.使用阿里云的加速器奖地,在彈性計(jì)算-容器加速器中间涵。需要提前注冊(cè)好。
有可能你的/etc/docker下沒有daemon.json退疫。此時(shí)渠缕,按照教程,直接手動(dòng)添加即可褒繁。