晚上想在ubuntu上安装docker时,用apt-get update报错了
没有截图,图网上找的,情况类似
尝试过换源,换上了清华和阿里云的镜像都没用
然后用ifconfig发现只有docker0和lo
用ifconfig -a命令发现ens33也会显示
用这条命令dhclient ens33解决
root@ubuntu:~/桌面# sudo dhclient ens33
root@ubuntu:~/桌面# ifconfig ens33
再试apt-get update
晚上想在ubuntu上安装docker时,用apt-get update报错了
没有截图,图网上找的,情况类似
尝试过换源,换上了清华和阿里云的镜像都没用
然后用ifconfig发现只有docker0和lo
用ifconfig -a命令发现ens33也会显示
用这条命令dhclient ens33解决
root@ubuntu:~/桌面# sudo dhclient ens33
root@ubuntu:~/桌面# ifconfig ens33
再试apt-get update