Home  >  Article  >  Operation and Maintenance  >  How to correctly configure Alibaba Cloud image with docker

How to correctly configure Alibaba Cloud image with docker

王林
王林forward
2020-11-13 17:23:003436browse

How to correctly configure Alibaba Cloud image with docker

The correct steps are as follows:

(recommended learning tutorial: docker tutorial)

1. Open the Alibaba Cloud console, If not, you can log in directly with your Taobao account or Alipay account

Open the container image service, mirror the accelerator, and copy the accelerator address

How to correctly configure Alibaba Cloud image with docker

2. Modify the configuration file

$: vi /etc/docker/daemon.json

Add the accelerator address:

How to correctly configure Alibaba Cloud image with docker

or use the University of Science and Technology of China image Address: https://docker.mirrors.ustc.edu.cn

3. Restart docker

systemctl daemon-reload

systemctl restart docker

After completion, you will find that downloading Oracle only takes less than 3 minutes, and the speed is so fast

How to correctly configure Alibaba Cloud image with docker

The above is the detailed content of How to correctly configure Alibaba Cloud image with docker. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete