Home >Operation and Maintenance >Docker >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
2. Modify the configuration file
$: vi /etc/docker/daemon.json
Add the accelerator address:
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
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!