我是靠谱客的博主 幸福店员,这篇文章主要介绍Docker Ubuntu容器修改软件源,现在分享给大家,希望可以做个参考。

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内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(47)

评论列表共有 0 条评论

立即
投稿
返回
顶部