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

How to correctly configure Alibaba Cloud image with docker

王林
Release: 2020-11-13 17:23:00
forward
3529 people have browsed it

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!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template