Docker Ubuntu容器修改软件源
docker创建Ubuntu 18容器并修改软件源为清华镜像时出现
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
解决:
更换源之前运行命令:
apt-get update
apt-get install -y ca-certificates
update-ca-certificates
最后再修改为国内源
vi /etc/apt/sources.list
最后
以上就是幸福店员最近收集整理的关于Docker Ubuntu容器修改软件源的全部内容,更多相关Docker内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复