I build my own image based on the official centos image. And replace CentOS-Base.repo with alibaba's CentOS-Base.repo.
wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo
how to use it:
docker pull tmmam/centos:7
docker run -it --name centos --net=host tmmam/centos:7
Dockerfile:
FROM tmmam/centos:7
Welcome all of you can download it and use it in your own image.
Content type
Image
Digest
Size
124.1 MB
Last updated
over 6 years ago
docker pull tmmam/centos:7