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
Write to the css file Copy code The code is as fol...
Table of contents 1. Transition from development ...
Structural (position) pseudo-class selector (CSS3...
Preface Some of the earlier codes on Github may r...
As of now, the latest version of CentOS is CentOS...
Brief Description This is a CSS3 cool 3D cube pre...
Table of contents 1. What is a subquery? 2. Where...
Operating system: Alibaba Cloud ESC instance cent...
Table of contents Preface zx library $`command` c...
Table of contents 1. Introduction to Portainer 2....
Reproduce on Kali First set suid permissions for ...
Table of contents Proxy forwarding rules The firs...
In the nginx process model, tasks such as traffic...
1. Basic structure of web page: XML/HTML CodeCopy...
1. Install MySQL This article is installed via AP...