Win10子系统UbuntuDocker安装-失败
说在前面,目前为止都失败了
Docker安装
按照以下的参考安装
window10下子系统ubuntu安装Docker
apt-get update执行时的问题
sudo apt-get update
使用该命令时,提示连接错误
后来发现是数据源的问题
参考以下文档修改数据源后,可以正确执行
win10子系统ubuntu文件夹位置_Win10安装linux子系统
apt-get upgrade执行时的问题
sudo apt upgrade
执行该命令时,提示 以下这样的错误
E: Failed to fetch http://mirrors.aliyun.com/ubuntu/pool/main/u/ubuntu-meta/ubuntu-server_1.417.5_amd64.deb Temporary failure resolving ‘mirrors.aliyun.com’
参考以下URL,修改了DNS,可以成功执行
sudo vi /etc/resolv.conf
在resolv.conf里面添加阿里DNS
nameserver 223.5.5.5
nameserver 223.6.6.6