I won't say much nonsense, let's just look at the code~ # docker-compose down # ./prepare # docker-compose up –d Additional knowledge: After installing Harbor, Docker reports an error when connecting to the local warehouse After installing Harbor, Docker reports an error when connecting to the local warehouse. [root@master1 v2]# docker login dsp.images.hub:11180 Username: admin Password: Error response from daemon: Get https://node4:11180/v1/users/: http: server gave HTTP response to HTTPS client Need to configure vim /usr/lib/systemd/system/docker.service [Unit] Description=Docker Application Container Engine Documentation=https://docs.docker.com After=network.target firewalld.service [Service] Type=notify # the default is not to use systemd for cgroups because the delegate issues still # exists and systemd currently does not support the cgroup feature set required # for containers run by docker ExecStart=/usr/bin/dockerd --insecure-registry=heheda.images.hub:11180 ExecReload=/bin/kill -s HUP $MAINPID # Having non-zero Limit*s causes performance problems due to accounting overhead # in the kernel. We recommend using cgroups to do container-local accounting. LimitNOFILE=infinity LimitNPROC=infinity LimitCORE=infinity # Uncomment TasksMax if your systemd version supports it. # Only systemd 226 and above support this version. #TasksMax=infinity TimeoutStartSec=0 # set delegate yes so that systemd does not reset the cgroups of docker containers Delegate=yes # kill only the docker process, not all processes in the cgroup KillMode=process [Install] WantedBy=multi-user.target Then restart docker
In addition, remember to configure the mapping of hosts to dsp.images.hub. For Docker v18:
The above article about harbor restarting after modifying the configuration file is all the content that the editor shares with you. I hope it can give you a reference. I also hope that you will support 123WORDPRESS.COM. You may also be interested in:
|
<<: Mysql anonymous login cannot create a database problem solution
>>: JavaScript implements draggable modal box
In response to the popularity of nodejs, we have ...
Table of contents 0x01. Install the Pagoda Panel ...
This article shares the specific code of Vue+ssh ...
Linux installation MySQL notes 1. Before installi...
When rendering Markdown before, I used the previe...
Now .net core is cross-platform, and everyone is ...
1.MySQL functions 1. Mathematical functions PI() ...
First, pull the image (or just create a container...
What is MySQL multi-instance Simply put, MySQL mu...
This article introduces the CSS scrollbar selecto...
The pop-up has nothing to do with whether your cur...
The MySQL explain command can analyze the perform...
Delete the previously installed mariadb 1. Use rp...
1. Create the /usr/local/services/zookeeper folde...
Table of contents Preface 1. The request content ...