How to install centos using Accelerator for Docker
This article introduces the knowledge of "how to use the accelerator to install centos in Docker". Many people will encounter such a dilemma in the operation of actual cases, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Open the service profile vi / etc/yum.repos.d/centos-base.repo
Change the mirrorlist address to the address of our Aliyun accelerator
Then esc,:wq, save and exit
Check the running status of the docket service, systemctl status docker
Pull a docker image of centos from Aliyun, docker pull centos, as we can see, the speed is quite fast!
2 minutes later, the download is complete!
Let's use the image of centos, docker run centos echo hello world.
Let's take a look at all the images, docker ps-l.
This is the end of the content of "how to install centos using Docker Accelerator". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!