CN110275717A - Privately owned echo cloning method, apparatus, computer equipment and storage medium - Google Patents
Privately owned echo cloning method, apparatus, computer equipment and storage medium Download PDFInfo
- Publication number
- CN110275717A CN110275717A CN201910410585.7A CN201910410585A CN110275717A CN 110275717 A CN110275717 A CN 110275717A CN 201910410585 A CN201910410585 A CN 201910410585A CN 110275717 A CN110275717 A CN 110275717A
- Authority
- CN
- China
- Prior art keywords
- mirror image
- privately owned
- clone
- original
- application
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000010367 cloning Methods 0.000 title claims abstract description 82
- 238000000034 method Methods 0.000 title claims abstract description 64
- 238000003860 storage Methods 0.000 title claims abstract description 24
- 238000012986 modification Methods 0.000 claims description 23
- 230000004048 modification Effects 0.000 claims description 23
- 238000004590 computer program Methods 0.000 claims description 16
- 238000005516 engineering process Methods 0.000 abstract description 2
- 238000004801 process automation Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 19
- 238000012544 monitoring process Methods 0.000 description 17
- 230000001960 triggered effect Effects 0.000 description 5
- 238000012423 maintenance Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 238000009826 distribution Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- PEDCQBHIVMGVHV-UHFFFAOYSA-N Glycerine Chemical compound OCC(O)CO PEDCQBHIVMGVHV-UHFFFAOYSA-N 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
- G06F8/63—Image based installation; Cloning; Build to order
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
- Facsimiles In General (AREA)
Abstract
The embodiment of the present application provides a kind of privately owned echo cloning method, apparatus, computer equipment and storage medium, is related to field of cloud computer technology, can be applied in PaaS platform.The described method includes: the purpose application environment and destination region cloned according to set need determine purpose mirror image warehouse;Judgement generates in the physical machine of clone's instruction with the presence or absence of former privately owned mirror image;There is former privately owned mirror image if generating in the physical machine of clone's instruction, by the privately owned echo cloning of original to purpose mirror image warehouse.The process automation of the embodiment of the present application clone is completed, without user intervention, improve the speed and efficiency of privately owned echo cloning, after privately owned echo cloning to purpose mirror image warehouse, it can be directly using the privately owned mirror image after clone, in this way, obtaining privately owned mirror image without trans-regional, safety is improved, the efficiency using the creation container application of privately owned mirror image is further increased.
Description
Technical field
This application involves field of cloud computer technology more particularly to a kind of privately owned echo cloning method, apparatus, computer equipment
And storage medium.
Background technique
After privately owned mirror image is successful, it can be related to using privately owned mirror image, to complete rapid deployment.In cloud platform, such as
In PaaS (Platform-as-a-Service, platform service) platform, if wanting to create container application using privately owned mirror image
It, can be from creation container using obtaining privately owned mirror image in the mirror image warehouse under corresponding region when corresponding container instance.So
And may be privately owned using mirror image there is no this in the mirror image warehouse under creation container is using corresponding region, trans-regional is straight
It obtains and takes privately owned application mirror image that may there are problems that safety problem and inefficiency.
Summary of the invention
The embodiment of the present application provides a kind of privately owned echo cloning method, apparatus, computer equipment and storage medium, can clone
Privately owned mirror image, in application, obtain privately owned mirror image without trans-regional, improved using privately owned mirror image creation container safety and
Utilize the efficiency of privately owned mirror image creation container application.
In a first aspect, the embodiment of the present application provides a kind of privately owned echo cloning method, comprising:
If receiving privately owned echo cloning instruction, the privately owned mirror image of original in clone's instruction is obtained, and according to described gram
Default setting interface is called in grand instruction, with receive the purpose application environment of the need clone being arranged by the default setting interface with
Destination region;Purpose mirror image warehouse is determined according to the purpose application environment and destination region;Judgement generates clone's instruction
Physical machine on whether there is the privately owned mirror image of original;If generating in the physical machine of clone's instruction, there are the privately owned mirrors of original
Picture, by the privately owned echo cloning of original to purpose mirror image warehouse.
Second aspect, the embodiment of the invention provides a kind of privately owned echo cloning device, the privately owned echo cloning device packets
It includes for executing the corresponding unit of method described in above-mentioned first aspect.
The third aspect, the embodiment of the invention provides a kind of computer equipment, the computer equipment includes memory, with
And the processor being connected with the memory;
The memory is for storing computer program, and the processor is for running the calculating stored in the memory
Machine program, to execute method described in above-mentioned first aspect.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer program, when the computer program is executed by processor, realizes method described in above-mentioned first aspect.
For the embodiment of the present application other than clone's instruction can be related to user's triggering, other are automated completion, are not necessarily to user
Intervene, improve the speed and efficiency of privately owned echo cloning, after privately owned echo cloning to purpose mirror image warehouse, can directly utilize gram
Privately owned mirror image after grand improves safety in this way, obtaining privately owned mirror image without trans-regional, further increases and utilizes privately owned mirror
As the efficiency of creation container application.
Detailed description of the invention
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description
Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field
For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the flow diagram of privately owned echo cloning method provided by the embodiments of the present application;
Fig. 2 is the flow diagram for the privately owned echo cloning method that another embodiment of the application provides;
Fig. 3 is the flow diagram for the privately owned echo cloning method that another embodiment of the application provides;
Fig. 4 is the flow diagram for the privately owned echo cloning method that another embodiment of the application provides;
Fig. 5 is the sub-process schematic diagram for the privately owned echo cloning method that another embodiment of the application provides;
Fig. 6 is the schematic block diagram of privately owned echo cloning device provided by the embodiments of the present application;
Fig. 7 is the schematic block diagram for the privately owned echo cloning device that another embodiment of the application provides;
Fig. 8 is the schematic block diagram for the privately owned echo cloning device that another embodiment of the application provides;
Fig. 9 is the schematic block diagram for the privately owned echo cloning device that another embodiment of the application provides;
Figure 10 is the schematic block diagram for the creating unit that another embodiment of the application provides;
Figure 11 is the schematic block diagram of computer equipment provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiment is some embodiments of the present application, instead of all the embodiments.Based on this Shen
Please in embodiment, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall in the protection scope of this application.
It should be noted that the container meaning that container instance and the container of container application are applied is identical in being described below.
Fig. 1 is the flow diagram of privately owned echo cloning method provided by the embodiments of the present application.As shown in Figure 1, this method
Including S101-S107.
S101 obtains the privately owned mirror image of original in clone's instruction, and according to institute if receiving privately owned echo cloning instruction
It states clone's instruction and calls default setting interface, to receive the purpose application ring for the need clone being arranged by the default setting interface
Border and destination region.
Wherein, the mode of privately owned echo cloning instruction triggers includes a variety of, such as user touch or click associated button or
The triggering of person's image, such as in the list of privately owned mirror image, clicks clone's button corresponding to some privately owned mirror image, it is privately owned to trigger this
The clone of mirror image instructs;Also the voice that can receive user clones privately owned Mirror Info to trigger.In the present embodiment, privately owned mirror
As cloning the mode of instruction triggers with no restrictions.
If receiving privately owned echo cloning instruction, the privately owned mirror image in clone's instruction is obtained, it will be in clone instruction
Privately owned mirror image be known as the privately owned mirror image of the original, if the privately owned mirror image of original in clone's instruction includes the title of former privately owned mirror image, number
Etc. the identification information that can be determined which privately owned mirror image.The privately owned mirror image can be obtained from database according to identification information
All information.The privately owned mirror image of the original in clone's instruction is obtained, and default setting interface is called according to clone's instruction.Wherein, in advance
If setting interface can exist in the form of interface.The purpose that the privately owned mirror image need to clone can be set by default setting interface
Application environment and destination region.Wherein, purpose application environment includes production environment, test environment, exploitation environment.Wherein, it produces
Environment can be regarded as providing the environment of service for Internet user, and test environment is internal for testing required ring
Border, exploitation environment are internal for developing required environment.Destination region includes two parts: " region "+" safety zone
Domain ".Wherein, " safety zone " is the sub-regions under " region ".Determine privately owned echo cloning in which specific location, root
Codetermined according to purpose application environment and destination region, it can be understood as by privately owned echo cloning under some application environment some
In computer room corresponding to region.Or it is also understood that one is codetermined according to the region of the application environment of purpose and purpose
A Host equipment room.As some region corresponds to a Host equipment room under some application environment.Such as former privately owned echo cloning is being tested
In the computer room where SF (treasured believes a following smaller area identification) subregion under environment under precious letter (place name) region.
S102 determines purpose mirror image warehouse according to the purpose application environment and destination region.
Wherein, an application environment and a region determine a purpose mirror image warehouse.It is to be understood that a computer room pair
There should be a mirror image warehouse.In this way, obtaining required mirror from corresponding mirror image warehouse when creating container application to facilitate
As information, Mirror Info is obtained from other mirror image warehouses without trans-regional, improves the efficiency for obtaining Mirror Info.
Determine that purpose mirror image warehouse includes determining the corresponding IP address in purpose mirror image warehouse and/or purpose mirror image warehouse name.Specifically, exist
The corresponding IP address and/or purpose mirror image warehouse name in purpose mirror image warehouse are obtained in database.
S103 judges to generate in the physical machine of clone's instruction with the presence or absence of the privately owned mirror image of original.
Specifically, the title of former privately owned mirror image is obtained;Inquiry, which generates to whether there is in the physical machine that the clone instructs, to be had
Privately owned mirror image identical with the privately owned mirror image title of the original;If there are identical privately owned with the privately owned mirror image title of the original in physical machine
Mirror image determines that there are the privately owned mirror images of the original in physical machine;Otherwise, it determines the privately owned mirror image of the original is not present in physical machine.Wherein,
Whether there is in inquiry physical machine has privately owned mirror image identical with the privately owned mirror image title of the original, comprising: checks physics by order
Existing all privately owned mirror images on machine carry out all privately owned mirror images existing on the privately owned mirror image of the original and host
Matching.Wherein, the list of all privately owned mirror images existing on host can be checked by dockerimages order.Its
In, physical machine generates the machine of clone's instruction it can be appreciated that local physical machine.
If the privately owned mirror image of original is not present in physical machine, execution step S104, if there are the privately owned mirror image of the original in physical machine,
Execute step S107.
S104 determines former mirror image warehouse according to the information of the privately owned mirror image of original.
According to the privately owned mirror image of the original determine the privately owned mirror image of the original corresponding to application environment and region, according to the privately owned mirror of the original
As corresponding application environment and region determine former mirror image warehouse.Such as application environment and area according to corresponding to the original privately owned mirror image
Domain obtains former mirror image warehouse corresponding to the privately owned mirror image of the original, and IP address corresponding to former mirror image warehouse in the database
And/or the information such as purpose mirror image warehouse name.
S105 judges in the former mirror image warehouse with the presence or absence of the privately owned mirror image of original.
Specifically, it is inquired in former mirror image warehouse according to information such as the titles of the privately owned mirror image of the original privately owned with the presence or absence of the original
Mirror image.
If there are the privately owned mirror images of the original in former mirror image warehouse, executing step is S106;Otherwise, prompt information is returned to inform
User does not find the privately owned mirror image of the original.
S106 downloads described privately owned be mirrored in the physical machine from the former mirror image warehouse.
There are the privately owned mirror images of original in the even described former mirror image warehouse, download from the former mirror image warehouse described privately owned
It is mirrored in the physical machine.It can such as download from former mirror image warehouse that the original is privately owned to be mirrored to local physical machine by executing order
On.Such as dockerpull order.Specifically, such as the title of the privately owned mirror image of the dockerpull original.It should be noted that by former private
Have on image download to local physical machine, then is cloned into purpose mirror image warehouse, rather than directly will be former privately owned from former mirror image warehouse
Echo cloning allows for the safety of data in mirror image warehouse, preserves in mirror image warehouse a large amount of to purpose mirror image warehouse
Data, for security consideration, not directly from former mirror image warehouse by former privately owned echo cloning to purpose mirror image warehouse.
S107, by the privately owned echo cloning of original to purpose mirror image warehouse.
It can such as be ordered the privately owned echo cloning of the original in local physical machine by executing into purpose mirror image warehouse.Such as
Former privately owned mirror image is pushed to purpose mirror image warehouse by dockerpush order.Specifically, such as dockerpush { former privately owned mirror
As title }, former privately owned mirror image is pushed into purpose mirror image warehouse.In this way, to reach former privately owned echo cloning to purpose mirror image
The effect in warehouse.It should be noted that the corresponding privately owned mirror image title being cloned into purpose mirror image warehouse and former privately owned mirror image
Title is identical.
Wherein, if purpose mirror image warehouse is mirror image warehouse corresponding to former privately owned mirror image, it is meant that by the privately owned mirror image gram
It is grand to arrive mirror image warehouse corresponding to former privately owned mirror image.It is to be appreciated that if the privately owned mirror image of the original generates for the first time, by being somebody's turn to do for generation
Former privately owned mirror image is saved in mirror image warehouse corresponding to the privately owned mirror image of the original;If the privately owned mirror image of the original is not to generate for the first time,
It so can be understood as updating former privately owned mirror image.
If purpose mirror image warehouse is not mirror image warehouse corresponding to former privately owned mirror image, it is meant that by the privately owned echo cloning of the original
To other mirror image warehouses.If in local physical machine, there are the privately owned mirror images of the original, then directly should from local physical machine
Former privately owned mirror image pushes to purpose mirror image warehouse, if the privately owned mirror image of the original is not present in local physical machine, from former mirror image warehouse
Obtain this it is privately owned be mirrored to local physical machine, then the privately owned mirror image is pushed to purpose mirror image warehouse from local physical machine.
In one embodiment, after former privately owned mirror image being pushed to purpose mirror image warehouse, the method also includes:
S108, the information of the privately owned mirror image after addition is cloned in the database.
Information as added the privately owned mirror image after clone in the database, in tables of data corresponding to purpose mirror image warehouse.
The information of privately owned mirror image after clone includes title, the clone-time of privately owned mirror image etc. after clone.
It can be achieved in above method embodiment by privately owned echo cloning to purpose mirror image warehouse.Wherein, in addition to clone instructs
May relate to that user's triggering is outer, other are automated completions, be not necessarily to user intervention, improve clone the speed of privately owned mirror image with
Efficiency, while the privately owned mirror image being cloned into purpose mirror image warehouse can be straight when applying for utilizing the creation of privately owned mirror image user's next time
Use is connect, such as directly can obtain the privately owned mirror image from corresponding purpose data warehouse, and in the corresponding application in purpose mirror image warehouse
Container application corresponding to privately owned mirror image is created under environment and region, there is no need to across mirror image warehouses to obtain the privately owned mirror image,
Improve the efficiency using the creation application of privately owned mirror image.
In one embodiment, after step s 102, i.e., purpose is determined according to the purpose application environment and destination region
After mirror image warehouse, the method also includes: it searches whether to deposit in purpose mirror image warehouse according to the privately owned mirror image title of the original
In the identical privately owned mirror image of title;If the identical privately owned mirror image of title is not present in purpose mirror image warehouse, step S103 is executed;
If being prompted in purpose mirror image warehouse there are the identical privately owned mirror image of title.The embodiment is further limited in purpose mirror
The case where as existing in warehouse and privately owned mirror image identical with the privately owned mirror image title of original being not present.It is to be appreciated that if purpose mirror
As there is privately owned mirror image identical with former privately owned mirror image title in warehouse, then by former privately owned echo cloning to purpose mirror image storehouse
When in library, due to using former privately owned mirror image title, the i.e. title without the former privately owned mirror image of modification, it will lead to and be cloned into purpose
The title of privately owned mirror image after clone in mirror image warehouse is consistent with the title of former privately owned mirror image, in this way, the privately owned mirror after clone
As the identical privately owned mirror image of the title that there is originally in purpose mirror image warehouse may be override, demolition purpose is so understood
The data in mirror image warehouse.Therefore, further limit in the present embodiment only in purpose mirror image warehouse there is no with original it is privately owned
When the identical privately owned mirror image of mirror image title, just by former privately owned echo cloning to purpose mirror image warehouse, to avoid purpose mirror image warehouse
The case where data corruption, occurs.
In one embodiment, default setting interface is also used to be arranged the privately owned mirror image title after clone.Corresponding, Fig. 2 is
The flow diagram of privately owned echo cloning method provided by the embodiments of the present application.The method comprising the steps of S201-S209.
S201 obtains the privately owned mirror image of original in clone's instruction, and according to institute if receiving privately owned echo cloning instruction
It states clone's instruction and calls default setting interface, to receive the purpose application ring for the need clone being arranged by the default setting interface
Privately owned mirror image title after border, destination region and clone.
S202 determines purpose mirror image warehouse according to the purpose application environment and destination region.
It is identical to search whether that there are titles in purpose mirror image warehouse according to the privately owned mirror image title after the clone by S203
Privately owned mirror image.
If the identical privately owned mirror image of title is not present in purpose mirror image warehouse, step S204 is executed;If purpose mirror image warehouse
In there are the identical privately owned mirror image of title, prompted.
S204 judges to generate in the physical machine of clone's instruction with the presence or absence of the privately owned mirror image of original.
If generating and the privately owned mirror image of original being not present in the physical machine of clone's instruction, step S205 is executed;If generating
There are the privately owned mirror images of original in the physical machine of clone's instruction, execute step S208.
S205 determines former mirror image warehouse according to the information of the privately owned mirror image of original.
S206 judges in the former mirror image warehouse with the presence or absence of the privately owned mirror image of original.
If in the original mirror image warehouse, there are the privately owned mirror images of original, execute step S207;If in the original mirror image warehouse
There is no the privately owned mirror images of original, are prompted.
S207, downloads that the original is privately owned to be mirrored in the physical machine from the former mirror image warehouse.
It is noted that by being there are one important reason on former privately owned image download to physical machine, it is convenient at this
The title of former privately owned mirror image is made an amendment in ground physical machine, i.e., is repaired the title of the privately owned mirror image of original in locally downloading physical machine
The title of privately owned mirror image after being changed to clone.Or understand from another point of view, if not by former privately owned mirror image from former mirror image warehouse
Locally downloading physical machine, then making an amendment former privately owned mirror image title directly in former mirror image warehouse, then former mirror can be destroyed
As the data of the privately owned mirror image in warehouse Central Plains;If not making an amendment to the title of former privately owned mirror image, it is not easy to the identification and management of user,
If there are privately owned mirror images identical with the privately owned mirror image title of original in purpose mirror image warehouse simultaneously, former privately owned mirror image is pushed into mesh
Mirror image warehouse in, may data in demolition purpose mirror image warehouse.
The name modifications of the privately owned mirror image of original in the physical machine are the private after the set clone by S208
There is mirror image title.
It by former privately owned mirror image name modifications is clone when clone it is to be appreciated that the identification and management of user for convenience
Privately owned mirror image title afterwards.The title that the privately owned mirror image of the original can be such as modified by ordering, such as dockertag order.Specifically,
Such as the privately owned mirror image title after the former privately owned mirror image title clone of dockertag.
S209, by the privately owned echo cloning of original to purpose mirror image warehouse.
It can such as be ordered the privately owned echo cloning of the original by executing into purpose mirror image warehouse.Such as dockerpush order,
Former privately owned mirror image is pushed to purpose mirror image warehouse.Specifically, such as dockerpush { the privately owned mirror image title after clone }, such as
This, to achieve the effect that former privately owned echo cloning to purpose mirror image warehouse.Although it should be noted that be former privately owned mirror image,
But the title of the privately owned mirror image of the original has occurred that change, the title of the privately owned mirror image of the original has been changed to privately owned after cloning
Privately owned mirror image corresponding to privately owned mirror image title after the entitled clone is pushed to purpose mirror image warehouse by mirror image title
In.
In one embodiment, as shown in Fig. 2, the method is also wrapped after former privately owned mirror image is pushed to purpose mirror image warehouse
It includes:
S210, the information of the privately owned mirror image after addition is cloned in the database.
It should be noted that step consistent with Fig. 1 embodiment in the step of embodiment, please refers in Fig. 1 embodiment
Corresponding description, details are not described herein.
Former privately owned mirror image name modifications are further the privately owned mirror image title after clone before clone by the embodiment,
With further convenient for identification and management, while judge in purpose mirror image warehouse whether there is and the privately owned mirror image title phase after clone
Same privately owned mirror image, further to exclude to have privately owned mirror identical with the privately owned mirror image title after clone in purpose mirror image warehouse
The case where picture, avoids damage to the data in purpose mirror image warehouse.
It in one embodiment, can be to institute in purpose mirror image warehouse after by former privately owned echo cloning to purpose mirror image warehouse
The privately owned mirror image of clone is edited, to modify the information of the privately owned mirror image.In this way, as shown in figure 3, the privately owned echo cloning
Method includes step S301-S313.Wherein, the difference of the embodiment and embodiment shown in Fig. 2 is: increasing step
S311-S313.S311-S313 is described in detail below, other steps S301-S310 is consistent with step S201-S210 step, tool
Body please refers to the description of Fig. 2 embodiment.
S311 obtains the privately owned mirror image to be edited in the edit instruction if receiving edit instruction, described to be edited
Privately owned mirror image include clone after privately owned mirror image.
Wherein, edit instruction is triggered there are many mode, is such as touched by user or is clicked associated button or image triggers,
Such as in the list of privately owned mirror image, editor corresponding to the privately owned mirror image (or some privately owned mirror image) after clicking clone is pressed
Button triggers the edit instruction of the privately owned mirror image;Also it can receive the voice edition information of user to trigger.In the edit instruction
Privately owned mirror image to be edited in include privately owned mirror image the identification informations such as title.
S312, according to the edit instruction call edition interface, with receive by the edition interface be arranged described in
The modification information of the privately owned mirror image of editor.
Edition interface is developed by developer, can be existed in the form of editing interface, be modified by edition interface
The information of privately owned mirror image.The title of such as privately owned mirror image, the description of privately owned mirror image, privately owned mirror image mirror set.Wherein, privately owned mirror
The description of picture, including it is what that such as the privately owned mirror image, which specifically acts on, including which content etc., and it is privately owned to understand this with fast and easy
Mirror image.The mirror set of privately owned mirror image, it can be understood as, for the ease of management, privately owned mirror image is divided into different groups, in each group
It include one or more privately owned mirror image.
S313 receives the modification information of the privately owned mirror image to be edited, and will be described if receiving editor completes instruction
Modification information is updated to database.
The modification of the information to privately owned mirror image is realized in the embodiment.Since the privately owned mirrored procedure of above-mentioned clone is automatically complete
At therefore it provides edition interface improves the experience of user to allow user is convenient to modify to the information of privately owned mirror image.
In one embodiment, the privately owned mirror image being cloned into purpose mirror image warehouse can be used to create container application.In this way,
As shown in figure 4, the privately owned echo cloning method includes step S401-S413.Wherein, the embodiment and implementation shown in Fig. 2
The difference of example is: increasing step S411-S413.S411-S413 is described in detail below, other steps S401-S410 with
Step S201-S210 step is consistent, specifically please refers to the description of Fig. 2 embodiment.
S411, if receiving the privately owned mirror image obtained in the application creation instruction using creation instruction, the application wound
The privately owned mirror image built in instruction includes the privately owned mirror image after clone.
Wherein, it is triggered using creation instruction there are many mode, is such as touched by user or clicked associated button or image
Triggering is answered corresponding to the privately owned mirror image (or some privately owned mirror image) after clicking clone such as in the list of privately owned mirror image
With creation button, the application creation instruction of the privately owned mirror image is triggered;Also it can receive the voice application creation information of user to touch
Hair etc..It include the identification informations such as the title of privately owned mirror image in privately owned mirror image in the application creation instruction.
S412 creates instruction according to the application and calls setting interface, to receive the need being arranged by the setting interface
The information of the container application of creation, wherein the mirror image of the container application in the information of container application is application creation instruction
In privately owned mirror image.
Interface, which is arranged, to be developed by developer, can be existed in the form of editing interface, is arranged by setting interface
The information for the container application that need to be created, wherein the mirror image of the container application in the information of container application is defaulted as application creation
Privately owned mirror image in instruction, without resetting again.The information of set container application includes container application using ring
Border, the region of container application, container instance quantity of container application etc..Wherein, the application environment of container application, container are applied
Region purpose application environment, destination region are identical, in other embodiments, can also be different.
S413, according to the information creating container of privately owned mirror image and set container application in application creation instruction
Using.
The information of set container application includes the application environment of container application, the region of container application, container application
Container instance quantity etc..And the Mirror Info of container application is the privately owned mirror image in creation instruction.
The embodiment further uses the privately owned mirror image creation container application after clone, improves the speed of container application creation
Degree and efficiency.Due to itself including component or the service etc. of some other installations in the privately owned mirror image after clone, in this way, utilizing
After the container instance of privately owned mirror image creation container application after clone, no longer need to reinstall other component or service, into
One step improves the speed and efficiency of container application creation.
In one embodiment, after step S413, the method also includes: the information update that the container created is applied
To database.
In one embodiment, as shown in figure 5, step S413 includes the following steps S501-S503.
S501, the container instance quantity applied according to the application environment of container application, the region of container application, container
Determine the IP of the container instance of the container application.
The container instance quantity applied according to the set application environment of container application, the region of container application, container
Determine the IP of the container instance of container application, comprising: container is determined according to the region of the application environment of container application, container application
Using the position (such as Host equipment room) of creation;It is determined according to the position (such as Host equipment room) of identified container application creation preparatory
The IP address pond for being used to create container instance of distribution;The container instance quantity phase applied with container is obtained from the IP address pond
Acquired IP address is determined as the IP of the container instance of container application by same IP address.
S502, the container instance number applied according to the application environment of container application, the region of container application, container
Privately owned mirror image in amount, application creation instruction determines the host for creating the container instance of the container application.
The position of container application creation is determined according to the region of the application environment of container application, container application;According to really
The position of fixed container application creation determines host cluster;According to the resource information of privately owned mirror image from identified host collection
The specific host of the container instance of creation container application is determined in group.Specifically, it is determined that specific host cluster is to pass through appearance
Device programming facility automatically determines, and according to the application environment of container application, the region of container application, is known by container programming facility
The container does not apply locating host cluster, and container programming facility is according to the resource information and host collection of privately owned mirror image
The resource situation of group determines the host of the container instance of creation container application from host cluster.Wherein, container layout work
Tool can be Marathon programming facility, can also be other container programming facilities.Wherein, a container instance creation is one
On a host, it is possible to understand that ground, the corresponding host of a container instance.
Wherein, the sequence of step S501 and step S502 do not do stringent limitation, can also first carry out step S502, then
Execute step S501, wherein step S501, S502 may be performed simultaneously, and can also be performed separately.
S503 creates container application according to the privately owned mirror image in application creation instruction on identified host
Container instance, and set identified IP to the IP of created container instance.
Specifically, step S503 includes: that privately owned mirror image is pushed on identified host by container programming facility,
The container instance of container application is created on the host according to the privately owned mirror image;If the container of container application is real
Example creation is completed, and is connected created container instance by automation operation and maintenance tools, by the container instance created and is determined
IP bound, set identified IP to the IP of created container instance.
Wherein, container programming facility can be Marathon tool.Marathon tool can be simply interpreted as in one
Turn station, send the container programming facility for privately owned mirror image, the distribution of specific mirror image is then issued to institute by container programming facility
On determining host, to carry out the creation of container instance.Wherein, operation and maintenance tools such as automation operation and maintenance tools ansible.
In one embodiment, the information of set container application further includes the use time, container application of container application
Resource group etc..Wherein, container application can be unit the moon using the time, can also be as unit of other times.It can be with
Understand and need to charge after ground, the container instance of container application create successfully, includes resource under the resource group of container application
Account, for creating the required expense of container instance of container application.In this way, as shown in figure 5, determining container application
Container instance IP and container application container instance where host before, step S413 is further comprising the steps of:
501a, according to the resource group of the container instance applied using time, the container, the appearance of container application
Whether device example quantity has the enough amount of money in the resource group to judge the container application to be used to create the appearance of container application
Device example.
Since each container instance needs of creation are paid, according to the container instance quantity of container application, container
The expense using time, each container instance of example calculates creation current container using the amount of money for needing to pay;Judge container
Whether the residual amount in the resource group of application is more than or equal to creation current container using the amount of money for needing to pay;If so,
Then determining the resource group of container application has the enough amount of money to be used to create corresponding container application;If not, it is determined that container application
Resource group there is no the enough amount of money to be created.
If the resource group of container application does not have the enough amount of money to create, the reason of creation fails is returned.If there is the enough amount of money
To create the container instance of container application, execution step S501.
The embodiment further contemplates some actual conditions of creation container application.The embodiment creates container application
Process is automatically performed, and is not necessarily to manual intervention, improves the speed of creation container application.
In one embodiment, it if the information that set container is applied includes enabling monitoring information, is created with upper container application
The container instance that promising created container application is further related to during building enables monitoring, corresponding step further include:
The corresponding enabling monitoring mark enabled in monitoring information of container instance is pushed on identified host, with
The operation data information of the container instance is collected according to the monitoring process of host.
It should be noted that monitoring process can all be installed on all hosts and the monitoring process is initiate mode by defaulting.
Monitoring mark will be enabled to be pushed on identified host, container reality is monitored by the monitoring process installed on host
Example.Such as CPU of the container instance of monitoring of containers application, memory resource.
It should be noted that the user that the operation of above method embodiment is the need for specified permission can just operate.?
In another embodiment, before step S101 (either S201 or S301 or S401), the method also includes: acquisition logs in
The permission of user;Judge whether permission and the default access of login user are identical;If they are the same, it is corresponding execute step S101 (or
S201 or S301 or S401), otherwise, prompted.
Fig. 6 is the schematic block diagram of privately owned echo cloning device provided by the embodiments of the present application.The device includes for holding
Unit corresponding to the above-mentioned privately owned echo cloning method of row.As shown in fig. 6, the privately owned echo cloning device 100 includes that setting is single
Member 101, purpose warehouse determination unit 102, physical machine judging unit 103, former warehouse determination unit 104, mirror image judging unit
105, download unit 106, cloned unit 107.
Setting unit 101, if obtaining the privately owned mirror of original in clone's instruction for receiving privately owned echo cloning instruction
Picture, and instructed according to the clone and call default setting interface, it needs to clone by what the default setting interface was arranged to receive
Purpose application environment and destination region.
Purpose warehouse determination unit 102, for determining purpose mirror image storehouse according to the purpose application environment and destination region
Library.
Physical machine judging unit 103, for judging to generate in the physical machine that the clone instructs with the presence or absence of described former private
There is mirror image.
Cloned unit 107 will be described if there are the privately owned mirror images of original in the physical machine that the clone instructs for generating
Former privately owned echo cloning is to purpose mirror image warehouse.
Former warehouse determination unit 104, if there is no the privately owned mirrors of original in the physical machine that the clone instructs for generating
Picture determines former mirror image warehouse according to the information of the privately owned mirror image of original.
Mirror image judging unit 105, for judging in the former mirror image warehouse with the presence or absence of the privately owned mirror image of original.
Download unit 106, if for there are the privately owned mirror images of original in the former mirror image warehouse, from the former mirror image warehouse
The middle downloading original is privately owned to be mirrored in the physical machine.
Cloned unit 107, if being also used to generate in the physical machine of clone's instruction, there are the privately owned mirror images of original, by institute
Former privately owned echo cloning is stated to purpose mirror image warehouse.
In one embodiment, as shown in fig. 6, the privately owned echo cloning device 100 further includes updating unit 108.It updates
Unit 108, for adding the information of the privately owned mirror image after cloning in the database.
In another embodiment, the privately owned echo cloning device 100 further includes authority acquiring unit, permission judgement list
Member.Wherein, authority acquiring unit, for obtaining the permission of login user.Permission judging unit, for judging the power of login user
It limits whether identical as default access.If the permission of login user is identical as default access, setting unit 101 is triggered.If logging in use
The permission at family is not identical as default access, then is prompted.
Fig. 7 is the schematic block diagram for the privately owned echo cloning device that another embodiment of the application provides.As shown in fig. 7, should
Privately owned echo cloning device 200 includes setting unit 201, purpose warehouse determination unit 202, title judging unit 203, physical machine
Judging unit 204, former warehouse determination unit 205, mirror image judging unit 206, download unit 207, name modifications unit 208 and
Cloned unit 209.Wherein, the difference of the embodiment and embodiment shown in fig. 6 is: increasing title judging unit 203, name
Claim modification unit 208.And setting unit 201, purpose warehouse determination unit 202, physical machine judging unit in the present embodiment
204, in former warehouse determination unit 205, mirror image judging unit 206, download unit 207, cloned unit 209 and Fig. 6 embodiment
Setting unit 101, purpose warehouse determination unit 102, physical machine judging unit 103, former warehouse determination unit 104, mirror image judgement
Unit 105, download unit 106, cloned unit 107 correspond, and repeat no more secondary.The embodiment and Fig. 6 is explained below
Shown in embodiment difference in place of.
Title judging unit 203, for being searched in purpose mirror image warehouse according to the privately owned mirror image title after the clone
With the presence or absence of the identical privately owned mirror image of title.If the identical privately owned mirror image of title, trigger are not present in purpose mirror image warehouse
Reason machine judging unit 204.
Name modifications unit 208, for being set by the name modifications of the privately owned mirror image of original in the physical machine
The clone after privately owned mirror image title.Then cloned unit 209 is triggered.
In one embodiment, as shown in fig. 7, the privately owned echo cloning device 200 further includes updating unit 210.It updates
Unit 210, for adding the information of the privately owned mirror image after cloning in the database.
Fig. 8 is the schematic block diagram for the privately owned echo cloning device that another embodiment of the application provides.As shown in figure 8, should
Privately owned echo cloning device 300 includes setting unit 301, purpose warehouse determination unit 302, title judging unit 303, physical machine
Judging unit 304, former warehouse determination unit 305, mirror image judging unit 306, download unit 307, name modifications unit 308, gram
Grand unit 309, updating unit 310, editor acquiring unit 311, edit cell 312.The embodiment and embodiment shown in Fig. 7
Difference is: increasing editor acquiring unit 311, edit cell 312.Other units and the unit of Fig. 7 embodiment correspond,
The description of Fig. 7 embodiment is specifically please referred to, details are not described herein.Be explained below the embodiment and Fig. 7 embodiment difference it
Place.
Acquiring unit 311 is edited, if obtaining to be edited privately owned in the edit instruction for receiving edit instruction
Mirror image, the privately owned mirror image to be edited include the privately owned mirror image after clone.
Edit cell 312 is set with receiving by the edition interface for calling edition interface according to the edit instruction
The modification information for the privately owned mirror image to be edited set.
Updating unit 310 receives the modification of the privately owned mirror image to be edited if being also used to receive editor completes instruction
Information, and the modification information is updated to database.
Fig. 9 is the schematic block diagram for the privately owned echo cloning device that another embodiment of the application provides.As shown in figure 9, should
Privately owned echo cloning device 400 includes setting unit 401, purpose warehouse determination unit 402, title judging unit 403, physical machine
Judging unit 404, former warehouse determination unit 405, mirror image judging unit 406, download unit 407, name modifications unit 408, gram
Grand unit 409, updating unit 410, creation acquiring unit 411, creating unit 412.The embodiment and embodiment shown in Fig. 7
Difference is: increasing creation acquiring unit 411, creating unit 412.Other units and the unit of Fig. 7 embodiment correspond,
The description of Fig. 7 embodiment is specifically please referred to, details are not described herein.Be explained below the embodiment and Fig. 7 embodiment difference it
Place.
Acquiring unit 411 is created, if obtaining privately owned in the application creation instruction for receiving using creation instruction
Mirror image, it includes the privately owned mirror image after clone that the application, which creates the privately owned mirror image in instruction,.
Acquiring unit 411 is created, is also used to create instruction according to the application and calls setting interface, to receive by described
Be arranged interface setting need creation container application information, wherein container application information in container application mirror image be
Privately owned mirror image in the application creation instruction.
Creating unit 412, for according in application creation instruction privately owned mirror image and the application of set container
Information creating container application.
In one embodiment, updating unit 410, the information update for being also used to apply in the container created to database.
In one embodiment, the Mirror Info of set container application includes that the application environment of container application, container are answered
The container instance quantity that region, container are applied.As shown in Figure 10, creating unit 412 includes IP determination unit 4121, host
Machine determination unit 4122, container creating unit 4123.
IP determination unit 4121, application environment, the region of container application, container application for being applied according to the container
Container instance quantity determine container application container instance IP.
Host determination unit 4122, application environment, the region of container application, container for being applied according to the container
The container instance quantity of application, the application create the privately owned mirror image in instruction and determine the container instance for creating the container application
Host.
Container creating unit 4123, for the privately owned mirror image in being instructed according to application creation in identified host
The container instance of upper creation container application, and set identified IP to the IP of created container instance.
In one embodiment, the information of set container application further includes being applied using time, container for device application
Resource group etc..The creating unit 412 further includes amount of money judging unit 4121a.Wherein, amount of money judging unit 4121a is used for root
Sentence according to the resource group of the container instance applied using time, the container, the container instance quantity of container application
Whether there is the enough amount of money to be used to create the container instance of container application in the resource group that the container is applied of breaking.
If the resource group of container application does not have the enough amount of money to create, the reason of creation fails is returned.If there is the enough amount of money
To create the container instance of container application, triggering IP determination unit 4121.
In one embodiment, the information of set container application further includes enabling monitoring information, the creating unit 412
It further include that monitoring enables unit.Wherein, monitoring enable unit, for by container instance it is corresponding enable monitoring information in enabling
Monitoring mark is pushed on identified host, and the operation data of the container instance is collected with the monitoring process according to host
Information.Such as CPU of the container instance of monitoring of containers application, memory resource operation data information.
It should be noted that it is apparent to those skilled in the art that, the tool of above-mentioned apparatus and each unit
Body realizes process, can be no longer superfluous herein with reference to the corresponding description in preceding method embodiment, for convenience of description and succinctly
It states.
Above-mentioned apparatus can be implemented as a kind of form of computer program, and computer program can be in meter as shown in figure 11
It calculates and is run on machine equipment.
Figure 11 is a kind of schematic block diagram of computer equipment provided by the embodiments of the present application.The equipment is that terminal etc. is set
It is standby, such as the server in PaaS platform.The equipment 100 includes processor 102, the memory connected by system bus 101
With network interface 103, wherein memory may include non-volatile memory medium 104 and built-in storage 105.
The non-volatile memory medium 104 can storage program area 1041 and computer program 1042.This is non-volatile to deposit
It is when the computer program 1042 stored in storage media is executed by processor 102, it can be achieved that privately owned described in above-mentioned server
Echo cloning method.The processor 102 supports the operation of whole equipment 100 for providing calculating and control ability.The interior storage
Device 105 provides environment for the operation of the computer program in non-volatile memory medium, which is held by processor 102
When row, processor 102 may make to execute privately owned echo cloning method described in above-mentioned server.The network interface 103 is used for
Carry out network communication.It will be understood by those skilled in the art that structure shown in figure, only portion relevant to application scheme
The block diagram of separation structure, does not constitute the restriction for the equipment being applied thereon to application scheme, and specific equipment may include
Than more or fewer components as shown in the figure, certain components are perhaps combined or with different component layouts.
Wherein, the processor 102 is for running computer program stored in memory, to realize above-mentioned privately owned mirror
As any embodiment of cloning process.
It should be appreciated that in the embodiment of the present application, alleged processor 102 can be central processing unit (Central
Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), specific integrated circuit (application program lication Specific Integrated
Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other can
Programmed logic device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor
Or the processor is also possible to any conventional processor etc..
Those of ordinary skill in the art will appreciate that be realize above-described embodiment method in all or part of the process,
It is that relevant hardware can be instructed to complete by computer program.The computer program can be stored in a storage medium,
The storage medium can be computer readable storage medium.The computer program is by the processing of at least one of the computer system
Device executes, to realize the process step of the embodiment of the above method.
Therefore, present invention also provides a kind of storage mediums.The storage medium can be computer readable storage medium, should
Computer readable storage medium includes non-volatile computer readable storage medium storing program for executing.The storage medium is stored with computer program,
The computer program realizes any embodiment of above-mentioned privately owned echo cloning method when being executed by a processor.
The storage medium can be USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), magnetic disk
Or the various computer readable storage mediums that can store program code such as CD.
In several embodiments provided herein, it should be understood that disclosed device, device and method, it can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, the division of the unit,
Only a kind of logical function partition, there may be another division manner in actual implementation.Those skilled in the art can be with
It is well understood, for convenience of description and succinctly, the specific work process of the device of foregoing description, equipment and unit can
With with reference to the corresponding process in preceding method embodiment, details are not described herein.The above, the only specific embodiment party of the application
Formula, but the protection scope of the application is not limited thereto, and anyone skilled in the art discloses in the application
In technical scope, various equivalent modifications or substitutions can be readily occurred in, these modifications or substitutions should all cover the guarantor in the application
Within the scope of shield.Therefore, the protection scope of the application should be subject to the protection scope in claims.
Claims (10)
1. a kind of privately owned echo cloning method, which is characterized in that the described method includes:
If receiving privately owned echo cloning instruction, the privately owned mirror image of original in clone's instruction is obtained, and refer to according to the clone
It enables and calls default setting interface, to receive the purpose application environment and purpose of the need clone being arranged by the default setting interface
Region;
Purpose mirror image warehouse is determined according to the purpose application environment and destination region;
Judgement generates in the physical machine of clone's instruction with the presence or absence of the privately owned mirror image of original;
If generating in the physical machine of clone's instruction there are the privately owned mirror image of original, by the privately owned echo cloning of original to described
Purpose mirror image warehouse.
2. the method according to claim 1, wherein the method also includes:
If generating and the privately owned mirror image of original being not present in the physical machine of clone's instruction, according to the information of the privately owned mirror image of original
Determine original mirror image warehouse;
Judge in the former mirror image warehouse with the presence or absence of the privately owned mirror image of original;
If there are the privately owned mirror images of original in the original mirror image warehouse, the privately owned mirror image of original is downloaded from the former mirror image warehouse
Onto the physical machine;
By the privately owned echo cloning of original to purpose mirror image warehouse.
3. according to the method described in claim 2, it is characterized in that, described according to the purpose application environment and destination region
After determining purpose mirror image warehouse, the method also includes:
Search whether that there are the identical privately owned mirror images of title in purpose mirror image warehouse according to the privately owned mirror image title of the original;
If the identical privately owned mirror image of title is not present in purpose mirror image warehouse, executes the judgement and generate clone's instruction
The step of in physical machine with the presence or absence of the former privately owned mirror image.
4. according to the method described in claim 2, it is characterized in that, the default setting interface to be also used to be arranged the original privately owned
Privately owned mirror image title after echo cloning;
It is described purpose mirror image warehouse is determined according to the purpose application environment and destination region after, the method also includes:
Search whether that there are the identical privately owned mirrors of title in purpose mirror image warehouse according to the privately owned mirror image title after the clone
Picture;If the identical privately owned mirror image of title is not present in purpose mirror image warehouse, executes the judgement and generate clone's instruction
The step of in physical machine with the presence or absence of the former privately owned mirror image;
It is described by the privately owned echo cloning of original to purpose mirror image warehouse before, the method also includes:
It is the privately owned mirror image name after the set clone by the name modifications of the privately owned mirror image of original in the physical machine
Claim.
5. method according to claim 1-4, which is characterized in that the method also includes:
The information of privately owned mirror image after addition clone in the database.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
If receiving edit instruction, the privately owned mirror image to be edited in the edit instruction, the privately owned mirror to be edited are obtained
As including the privately owned mirror image after cloning;
Call edition interface according to the edit instruction, with receive be arranged by the edition interface it is described to be edited privately owned
The modification information of mirror image;
If receiving editor completes instruction, the modification information of the privately owned mirror image to be edited is received, and by the modification information
It is updated to database.
7. according to the method described in claim 6, it is characterized in that, the method also includes:
If receiving the privately owned mirror image obtained in the application creation instruction using creation instruction, in the application creation instruction
Privately owned mirror image include clone after privately owned mirror image;
Instruction is created according to the application and calls setting interface, to receive the container for the need creation being arranged by the setting interface
The information of application, wherein the mirror image of the container application in the information of container application is the privately owned mirror in application creation instruction
Picture;
According to the information creating container application of privately owned mirror image and set container application in application creation instruction.
8. a kind of privately owned echo cloning device, which is characterized in that the privately owned echo cloning device includes:
Setting unit, if obtaining the privately owned mirror image of original in clone's instruction, and root for receiving privately owned echo cloning instruction
It is instructed according to the clone and calls default setting interface, answered with the purpose for receiving the need clone being arranged by the default setting interface
With environment and destination region;
Purpose warehouse determination unit, for determining purpose mirror image warehouse according to the purpose application environment and destination region;
Physical machine judging unit, for judging to generate in the physical machine that the clone instructs with the presence or absence of the privately owned mirror image of original;
Cloned unit, if for generating in the physical machine that the clone instructs there are the privately owned mirror image of original, the original is privately owned
Echo cloning is to purpose mirror image warehouse.
9. a kind of computer equipment, which is characterized in that the computer equipment includes memory, and is connected with the memory
Processor;
The memory is for storing computer program;The processor is for running the computer journey stored in the memory
Sequence, to execute the method according to claim 1 to 7.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey
Sequence when the computer program is executed by processor, realizes the method according to claim 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910410585.7A CN110275717B (en) | 2019-05-17 | 2019-05-17 | Private image cloning method, private image cloning device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910410585.7A CN110275717B (en) | 2019-05-17 | 2019-05-17 | Private image cloning method, private image cloning device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110275717A true CN110275717A (en) | 2019-09-24 |
CN110275717B CN110275717B (en) | 2024-03-22 |
Family
ID=67959720
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910410585.7A Active CN110275717B (en) | 2019-05-17 | 2019-05-17 | Private image cloning method, private image cloning device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110275717B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112764881A (en) * | 2021-01-19 | 2021-05-07 | 杭州朗澈科技有限公司 | Method, system, computer device and storage medium for pipeline deployment mirroring |
CN112835609A (en) * | 2019-11-22 | 2021-05-25 | 北京沃东天骏信息技术有限公司 | Method and device for modifying dependent package download address |
CN113296873A (en) * | 2020-05-15 | 2021-08-24 | 阿里巴巴集团控股有限公司 | Mirror image construction method and device, terminal equipment and computer storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103795759A (en) * | 2012-10-31 | 2014-05-14 | 北京搜狐新媒体信息技术有限公司 | Method and system for scheduling virtual machine mirror image file |
US20140225977A1 (en) * | 2005-03-01 | 2014-08-14 | EyesMatch Ltd. | Devices, systems and methods of virtualizing a mirror |
CN105260231A (en) * | 2015-11-03 | 2016-01-20 | 国云科技股份有限公司 | Method of reducing physical disk I/O reading and writing |
CN105718570A (en) * | 2016-01-20 | 2016-06-29 | 北京京东尚科信息技术有限公司 | Data migration method and device used for database |
CN106445563A (en) * | 2016-11-24 | 2017-02-22 | 合肥中科云巢科技有限公司 | Operation system mirror image manufacturing method and device |
CN107291525A (en) * | 2016-04-01 | 2017-10-24 | 华为技术有限公司 | A kind of method, host and system for disposing virtual machine |
CN107357691A (en) * | 2016-05-09 | 2017-11-17 | 中兴通讯股份有限公司 | The processing method and processing device of image file |
CN108205481A (en) * | 2016-12-19 | 2018-06-26 | 华为技术有限公司 | The container instance creation method and device of application |
CN109634621A (en) * | 2018-11-30 | 2019-04-16 | 武汉烽火信息集成技术有限公司 | Openstack Platform deployment method, storage medium, electronic equipment and system |
CN109688232A (en) * | 2019-01-28 | 2019-04-26 | 杭州涂鸦信息技术有限公司 | A kind of mirror image retrogressive method, mirror image backtracking system and proxy server |
-
2019
- 2019-05-17 CN CN201910410585.7A patent/CN110275717B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140225977A1 (en) * | 2005-03-01 | 2014-08-14 | EyesMatch Ltd. | Devices, systems and methods of virtualizing a mirror |
CN103795759A (en) * | 2012-10-31 | 2014-05-14 | 北京搜狐新媒体信息技术有限公司 | Method and system for scheduling virtual machine mirror image file |
CN105260231A (en) * | 2015-11-03 | 2016-01-20 | 国云科技股份有限公司 | Method of reducing physical disk I/O reading and writing |
CN105718570A (en) * | 2016-01-20 | 2016-06-29 | 北京京东尚科信息技术有限公司 | Data migration method and device used for database |
CN107291525A (en) * | 2016-04-01 | 2017-10-24 | 华为技术有限公司 | A kind of method, host and system for disposing virtual machine |
CN107357691A (en) * | 2016-05-09 | 2017-11-17 | 中兴通讯股份有限公司 | The processing method and processing device of image file |
CN106445563A (en) * | 2016-11-24 | 2017-02-22 | 合肥中科云巢科技有限公司 | Operation system mirror image manufacturing method and device |
CN108205481A (en) * | 2016-12-19 | 2018-06-26 | 华为技术有限公司 | The container instance creation method and device of application |
CN109634621A (en) * | 2018-11-30 | 2019-04-16 | 武汉烽火信息集成技术有限公司 | Openstack Platform deployment method, storage medium, electronic equipment and system |
CN109688232A (en) * | 2019-01-28 | 2019-04-26 | 杭州涂鸦信息技术有限公司 | A kind of mirror image retrogressive method, mirror image backtracking system and proxy server |
Non-Patent Citations (2)
Title |
---|
PROBUILDPRO: "「Docker」 - 镜像仓库", pages 1 - 4, Retrieved from the Internet <URL:《https://zhuanlan.zhihu.com/p/57037474?utm_id=0》> * |
欧阳桂秀: ""浅谈使用Docker 搭建本地私有仓库"", 《福建电脑》, no. 10, pages 156 - 157 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112835609A (en) * | 2019-11-22 | 2021-05-25 | 北京沃东天骏信息技术有限公司 | Method and device for modifying dependent package download address |
CN112835609B (en) * | 2019-11-22 | 2024-04-05 | 北京沃东天骏信息技术有限公司 | Method and device for modifying download address of dependent packet |
CN113296873A (en) * | 2020-05-15 | 2021-08-24 | 阿里巴巴集团控股有限公司 | Mirror image construction method and device, terminal equipment and computer storage medium |
CN112764881A (en) * | 2021-01-19 | 2021-05-07 | 杭州朗澈科技有限公司 | Method, system, computer device and storage medium for pipeline deployment mirroring |
CN112764881B (en) * | 2021-01-19 | 2024-04-05 | 深圳软通动力信息技术有限公司 | Method, system, computer device and storage medium for pipeline deployment mirroring |
Also Published As
Publication number | Publication date |
---|---|
CN110275717B (en) | 2024-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109857667B (en) | Interface automation test method, test device, test equipment and storage medium | |
CN110275717A (en) | Privately owned echo cloning method, apparatus, computer equipment and storage medium | |
CN108572795B (en) | Capacity expansion method, device, equipment and storage medium based on built storage virtualization | |
CN110289982A (en) | Expansion method, device, computer equipment and the storage medium of container application | |
CN100442712C (en) | Method and system for realizing network terminal equipment configuration automatic updating | |
CN110224860A (en) | Load balancing application creation method, device, computer equipment and storage medium | |
CN111083722A (en) | Model pushing method, model requesting method, model pushing device, model requesting device and storage medium | |
CN107741852B (en) | Service deployment method based on cluster software | |
CN107408046B (en) | System and method for provisioning cloud services across heterogeneous computing environments | |
CN106126371A (en) | Data return a grade method, Apparatus and system | |
CN110275775A (en) | Resource allocation method, system and the storage medium of container application | |
CN110262872B (en) | Load balancing application management method and device, computer equipment and storage medium | |
CN110297808A (en) | File modification method, apparatus, computer equipment and the storage medium of container application | |
CN110289983A (en) | Load balancing application creation method, device, computer equipment and storage medium | |
CN110286997A (en) | More container application creation methods, device, computer equipment and storage medium | |
CN110262873A (en) | Configuration modification method, apparatus, computer equipment and the storage medium of container application | |
CN109474459A (en) | Domain name configuring management method, device, computer equipment and storage medium | |
EP4050850A1 (en) | Service upgrading method, device and system | |
CN105765533A (en) | Method and apparatus for firmware virtualization | |
CN110275776A (en) | Capacity reduction method, device, computer equipment and the storage medium of container application | |
CN109032696A (en) | A kind of page tune method, terminal and computer storage medium | |
CN113076186A (en) | Task processing method and device, electronic equipment and storage medium | |
CN110262829A (en) | Privately owned mirror image generation method, device, computer equipment and storage medium | |
CN109725945A (en) | A kind of mould group starting method, apparatus, equipment and storage medium | |
US20230083195A1 (en) | Modification of a dockerfile to repair vulnerabilities existing in the dockerfile |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |