1. Download the repository Image
Docker pull Registry
2. Create a private repository container-D indicates that the background is startedDocker run-D-P 5000: 5000-V/opt/data/Registry:/var/lib/Registry
3. Remove port 5000 from the FirewallFirewall-cmd -- zone = public -- add-Port = 5000/tcp -- Permanent
4. Verify that
stopfifichmod 755 /etc/keepalived/check_haproxy.sh
Edit the configuration file of Haproxy:
vi /etc/haproxy/haproxy.cfg
The configuration file is as follows:
global log /dev/log local0 info log /dev/log local0 notice maxconn 4096 user root group root daemondefaults log global maxconn 10000 contimeout 5000 clitimeout 3600000 srvtimeout 3600000 option redispatch r
"James" to "Li Xiaoming ";
2. Delete the first three rows
3. Display 5-10 rows
4. Delete the row containing "exclude"
5. display all rows with birthdays between Nov and Dec
6. All rows starting with a surname Zhang, marked with the front side ***
7. Use "trial staff" to replace the line containing "trial"
8. The birthday invented by Liu was 1986/11/11
9. Delete all blank rows
10. write a script to insert the first line into the Personnel File, delete all salaries ending with 500, display the Fi
1. View Docker version information# docker Versionclient:version:18.03.0-ce API version:1.37 Go version:go1.9.4 Git commit:0520e24 built:wed Mar 21 23:09:1 5 2018 Os/arch:linux/amd64 Experimental:false orchestrator:swarmserver:engine:version:18.03.0-ce API version:1.37 (mi Nimum version 1.12) Go version:go1.9.4 Git commit:0520e24 built:wed Mar 23:13:03 2018 Os/arch:linux/amd64 Experime Ntal:false2. Build a local private warehouse#mkdir-p/opt/data/registry#sudodockerrun-d-p5000:
Docker Warehouse Warehouses are places where image files are centrally stored. Sometimes the warehouse and the warehouse registration server (Registry) are confused, not strictly differentiated. In fact, the warehouse registration server often holds multiple warehouses, each of which contains multiple mirrors, each with a different label (tag).a Docker Registry can contain multiple warehouses ( Repository ); Each warehouse can contain multiple labels ( Tag ), and each label corresponds to a mir
/ Libstdc++.so.6 "for
file in $bak _list
does
cp-r $file/data/gcc-bak/
Done
Then, create the following file in the/etc/ld.so.conf.d/directory
Cat gmp-mpfr-mpc.conf
/usr/local/mpfr-2.4.2/lib/
/usr/local/mpc-0.8.1/lib/
/usr/local/gmp-4.3.2/lib /
Then extract the/tmp/lib.tar.gz into the/usr/local directory and perform the Ldconfig update cache.Try yum to install rpm
Yum Install gcc-4.8.4-1.x86_64.rpm
Find that too much reliance is missing
Finally, the dependency forcing update is ignored
into the Personnel File, delete all salaries ending with 500, display the File content, turn the phone number and birthday upside down, and add the end at the end of the File.
11. extract the name of the row containing "trial" and replace it with "trial User:" + name
Data content:
[Houchangren @ ebsdi-23260-oozie data] $ cat persons.txt James: 010-68239343: I am a manager: 1988/01/10: 5000 dawn: 010-68239343: I am a manager: 1988/08/10:
that directory, copy and paste the following docker-compose.yml contentto your docker-compose.yml file.The content is roughly meant to run the Nginx container based on "nginx:1.9" image, exposing the container 443 port to host 443 port. and mount the nginx/directory under the current directory as a containerThe/ETC/NGINX/CONFIG.D directory.Nginx link to registry container. Create registry container based on Registry:2 image, expose container 5000 por
Tags: mode from recovery get made by employee insert where reading1. What is a transaction A transaction is a combination of one or more database operation statements with acid,4 characteristics. Atomicity: Either all succeeds or all is undone Isolation: Transactions are independent from one another and are not interfering with each other Consistency: The database consistency constraint is not compromised after the database has changed state correctly Persistence: The commit result of the transa
1. What is a transactionA transaction is a combination of one or more database operation statements with acid,4 characteristics.Atomicity: Either all succeeds or all is undoneIsolation: Transactions are independent from one another and are not interfering with each otherConsistency: The database consistency constraint is not compromised after the database has changed state correctlyPersistence: The commit result of the transaction, which persists in the database2. What will happen to the concurr
Label:1. What is a transaction A transaction is a combination of one or more database operation statements with acid,4 characteristics. Atomicity: Either all succeeds or all is undone Isolation: Transactions are independent from one another and are not interfering with each other Consistency: The database consistency constraint is not compromised after the database has changed state correctly Persistence: The commit result of the transaction, which persists in the database 2. What will happen t
How can I effectively determine whether there are intersection of several sets of data ranges? php
5000 ~ 7000
2000 ~ 6000
8000 ~ 9000
4000 ~ 8500
5000 ~ 7000
In php, how can we more effectively judge whether there are duplicates of these groups of random data?
Expected value:
2000 ~ 4000
4000 ~ 5000
5000 ~ 6000
6000
nodes, A, B, and C, then our n is 3.
We want to write only one copy W = 1, then according to W + r> n there are r = 3. There are the following scenarios:
First, a received a request that the iPhone price is 4000. We now have 4000 [A: 1];
Before data is copied to B and C, someone told a that the price was increased to 4500. then there is 4500 [A: 2] On A, which overwrites the previous [A: 1]
Then the price was copied to B and C. Then there is also 4500 on B and C [A: 2].
At this poi
Question
Match all the characters and their occurrences.
Question B
Push rules, pay attention to details, such as the midline or something.
Question C
Good questions.
Given n
My practices:
After the number of input values is sorted in ascending order, the first value must be: num [1] = 0; otherwise,-1 is output;
The height of all (including the first person) num [I] is 5000,
For example, num [] = {-, 5 ...};
Starting from
turn.The next step is to configure the IdentityServer4 pipeline, add the Configure inside the app. Useidentityserver (), where we don't use MVC, will be app. USEMVC () Comment out. Below we run our project, of course direct access to http://localhost:5000 is not to see anything, where we use a fixed address http://localhost:5000/.well-known/ Openid-configuration, you can view the configuration information
/*",
"ARN: AWS:S3:::d ocker-registry-bucket-name "
]
}
]
}
This configuration will allow the user (i.e. regitstry) to manipulate (read/write) the contents of the bucket (make sure to use the bucket name that you used to create the AWS S3). To sum up: when you want to push your docker image from your native computer to the warehouse, the server uploads them to the S3.
Install registry
Now look back at our do server, SSH login on it. We are going to use an official Docker regi
version of Docker-ce curl -sSL https://get.docker.com/ | shNote: The installation process depends on the network conditions, may require a period of time, need to wait patientlyInstalling AcceleratorsBecause at home, visiting foreign sites may be slower, so it's best to add accelerators for Ubuntu.For the Ubuntu 14 system environment, modify the file/etc/default/docker:DOCKER_OPTS="--registry-mirror=https://registry.docker-cn.com"Get the official registry image from the Docker hub and la
stun" published by the author, I spent a lot of energy explaining that iptables is theoretically classified as hierarchical Nat rather than port restricted cone.Many people (including when I first studied the STUN Protocol) have doubts about this, that is, for STUN Protocol itself, port restricted cone andAlthough the ing mechanism is a little different, they all have port-restricted attributes. At first glance, the two areNAT traversal features are similar, especially when external addresses w
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.