查看: 58|回覆: 0

[Debian] Docker Debian切换国内源

[複製鏈接]

3

主題

0

回帖

0

積分

热心网友

金币
0
閲讀權限
220
精華
0
威望
0
贡献
0
在線時間
0 小時
註冊時間
2011-5-10
發表於 2020-11-6 18:39:00 | 顯示全部樓層 |閲讀模式
docker pull nginx:1.15.12

cat /etc/issue
Debian GNU/Linux 9 \n \l

mv /etc/apt/sources.list /etc/apt/sources.list.bak && \
    echo "deb http://mirrors.163.com/debian/ jessie main non-free contrib" >/etc/apt/sources.list && \
    echo "deb http://mirrors.163.com/debian/ jessie-proposed-updates main non-free contrib" >>/etc/apt/sources.list && \
    echo "deb-src http://mirrors.163.com/debian/ jessie main non-free contrib" >>/etc/apt/sources.list && \
    echo "deb-src http://mirrors.163.com/debian/ jessie-proposed-updates main non-free contrib" >>/etc/apt/sources.list
	
apt-get update
apt-get install -y vim

参考:https://developer.aliyun.com/mirror/debian?spm=a2c6h.13651102.0.0.3e221b11dlaQVG  

https://mirrors.tuna.tsinghua.edu.cn/help/debian/



来源:https://www.cnblogs.com/BINGJJFLY/p/13938417.html
回覆

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 立即注册

本版積分規則

相关侵权、举报、投诉及建议等,请发 E-mail:qiongdian@foxmail.com

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部