Sign inSign up

docker4cn/debian

By docker4cn

•Updated over 6 years ago

A debian image with Chinese apt sources.

Image
0

1.8K

docker4cn/debian repository overview

⁠Debian

Docker Automated Status Docker Build Status Docker Stars Docker Pulls License

这是为中国定制的Debian镜像,上游是Docker官方的debian⁠。 它是[docker4cn]项目的一部分。

⁠定制

Debian镜像替换为以下源:

机构源域名信息链接
中科大ustcmirrors.ustc.edu.cnhttps://mirrors.ustc.edu.cn/repogen/⁠
清华tunamirrors.tuna.tsinghua.edu.cnhttps://mirror.tuna.tsinghua.edu.cn/help/debian/⁠
阿里巴巴aliyunmirrors.aliyun.comhttps://developer.aliyun.com/mirror/⁠
华为huaweimirrors.huaweicloud.comhttps://mirrors.huaweicloud.com/⁠
网易163mirrors.163.comhttps://mirrors.163.com/⁠

除了换源,还做了以下改进:

  • 预装ca-certificates证书包,使用https的方式下载软件包。
  • 设置时区为中国的+8区(Asia/Shanghai)。
  • 增加PyPI、NPM、Gradle的镜像或代理。

⁠使用示例

docker pull docker4cn/debian:buster-aliyun

默认lastest使用ustc,因为它是Debian官方镜像域名的ftp.cn.debian.org,目前的latest是buster-ustc。 但它通常不是最合适的源,推荐通过tag选择特定镜像。 通过ping <域名>,找到最近的源,往往会有更好的使用效果。

维护中的tag:

⁠其它

更多docker4cn定制Docker基础镜像,请访问:https://docker-4.cn/⁠

更多Debian镜像,参考:Debian 全球镜像站⁠。

如果希望更新、改进,请提issues⁠或PR。

Tag summary

Content type

Image

Digest

Size

64.4 MB

Last updated

over 6 years ago

docker pull docker4cn/debian