The apt software source of the docker image of the default ubuntu is too slow to access sed in China, which often causes the installation ubuntu can be used anywhere.
sed -i s@/archive.ubuntu.com/@/mirrors.aliyun.com/@g /etc/apt/sources.list
sed -i s@/security.ubuntu.com/@/mirrors.aliyun.com/@g /etc/apt/sources.list
apt-get clean
apt-get update

而井
851 声望1.8k 粉丝