questionRecently I needed to log in to a private mirror center, but an error message appeared when logging in:
reasonThe certificate of the private mirror center is not trustworthy, and you need to add the authentication certificate of the private mirror center. WorkaroundFor example, if the authentication certificate of the private mirror center is ca.crt, execute the following command: sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ca.crt Just restart Docker. Supplement: An article will help you solve the error when pulling images from Docker: x509: certificate has expired or is not yet valid 1. Problem DescriptionX509 error occurs when docker pulls the image: 2. SolutionWhen docker pulls an image, an x509 problem occurs. This is usually a certificate problem or a system time problem. First check the time to see if it is correct. If the time does not match the actual time, it is usually a system time problem. (1) Time problem solved: date errorUpdate time synchronization: ntpdate cn.pool.ntp.org If the prompt says that the ntpdate command does not exist, you need to install it first: yum install ntpdate After the time is updated, just pull it again: (2) If it is a certificate problem, you need to edit the daemo.json file: vi /etc/docker/daemon.jsonAdd to the file: { "registry-mirrors": ["https://docker.mirrors.ustc.edu.cn"] } Then restart the docker service: docker restart The above is my personal experience. I hope it can give you a reference. I also hope that you will support 123WORDPRESS.COM. If there are any mistakes or incomplete considerations, please feel free to correct me. You may also be interested in:
|
<<: Use CSS to switch between dark mode and bright mode
>>: Web Design Tutorial (1): Steps and Overall Layout
<br />According to foreign media reports, in...
Dockerfile is a text file used to build an image....
mysql copy one table column to another table Some...
Today, my colleague encountered a very strange pr...
Table of contents Introduction Uses of closures C...
Table of contents In vue2 In vue3 Notes on setup ...
Logpoint-based replication 1. Create a dedicated ...
count(*) accomplish 1. MyISAM: Stores the total n...
Problem Reproduction Alibaba Cloud Server, using ...
Preface Note: The test database version is MySQL ...
Xrdp is an open source implementation of Microsof...
This article uses an example to describe how MySQ...
Background color and transparency settings As sho...
I just finished installing MySQL 5.7.19 in the ea...
Docker-machine is a Docker management tool offici...