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