docker ubuntu 的vi,nano命令无法使用的解决方案
使用echo和tee命令更新软件源:
echo "deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted universe multiverse" | tee /etc/apt/sources.list
使用echo和tee命令更新软件源:
echo "deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted universe multiverse" | tee /etc/apt/sources.list