Skip to content

从Docker官方Ubuntu镜像,定制中国地区使用的对应镜像。

License

Notifications You must be signed in to change notification settings

docker4cn/ubuntu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ubuntu

Docker Automated Status Docker Build Status Docker Stars Docker Pulls License

这是为中国定制的Ubuntu镜像,上游是Docker官方的ubuntu镜像。 它是docker4cn项目的一部分。

定制

Ubuntu镜像替换为以下源:

机构 域名 信息链接
阿里巴巴 aliyun mirrors.aliyun.com https://developer.aliyun.com/mirror/
中科大 ustc mirrors.ustc.edu.cn https://mirrors.ustc.edu.cn/repogen/
清华 tuna mirrors.tuna.tsinghua.edu.cn https://mirror.tuna.tsinghua.edu.cn/help/ubuntu/
华为 huawei mirrors.huaweicloud.com https://mirrors.huaweicloud.com/
网易 163 mirrors.163.com https://mirrors.163.com/

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

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

使用示例

docker pull docker4cn/ubuntu:20.04-aliyun

默认lastest使用aliyun,因为它是Ubuntu官方镜像中排名第一的。 目前的latest20.04-aliyun。 但它不一定是最合适的源,推荐通过tag选择特定镜像。 通过ping <域名>,找到最近的源,往往会有更好的使用效果。

维护中的tag:

其它

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

更多Ubuntu镜像,参考:Official Archive Mirrors for Ubuntu

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

About

从Docker官方Ubuntu镜像,定制中国地区使用的对应镜像。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors