CN108920174A - The method and apparatus with the running environment of dispensing containers engine is disposed on more hosts - Google Patents

The method and apparatus with the running environment of dispensing containers engine is disposed on more hosts Download PDF

Info

Publication number
CN108920174A
CN108920174A CN201810651515.6A CN201810651515A CN108920174A CN 108920174 A CN108920174 A CN 108920174A CN 201810651515 A CN201810651515 A CN 201810651515A CN 108920174 A CN108920174 A CN 108920174A
Authority
CN
China
Prior art keywords
docker
hosts
deployment
multiple distance
computer
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.)
Pending
Application number
CN201810651515.6A
Other languages
Chinese (zh)
Inventor
赵瑞东
徐永强
刘毅枫
王则陆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Chaoyue CNC Electronics Co Ltd
Original Assignee
Shandong Chaoyue CNC Electronics Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shandong Chaoyue CNC Electronics Co Ltd filed Critical Shandong Chaoyue CNC Electronics Co Ltd
Priority to CN201810651515.6A priority Critical patent/CN108920174A/en
Publication of CN108920174A publication Critical patent/CN108920174A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of on more hosts disposes and the method and apparatus of the running environment of dispensing containers engine includes:The privately owned source Docker is built, and Docker deployment tool is installed;Multiple distance hosts are accessed using Docker deployment tool, obtain the respective system environments of multiple distance hosts, and generate different deployment configuration scripts respectively according to respective system environments;Different deployment configuration scripts is distributed in corresponding multiple distance hosts, and executes different deployment configuration scripts respectively in multiple distance hosts to dispose and configure Docker software respectively.The present invention can carry out automatically dispose installation for different hosts or the running environment of different types of host batch deployment and dispensing containers engine, reduce flow consumption, do not influenced by network speed and shorten time-consuming.

Description

The method and apparatus with the running environment of dispensing containers engine is disposed on more hosts
Technical field
The present invention relates to virtualization fields, draw more specifically, particularly relating to one kind deployment and dispensing containers on more hosts The method and apparatus for the running environment held up.
Background technique
Container is a kind of lightweight, portable, self-contained Software package technology, allows application program substantially any Place is run in an identical manner.The container that developer creates and tested on the notebook of oneself, can be without any Modification is just run on the virtual machine of production system, physical server or public cloud host.Docker is to apply in the prior art Most wide containerization technique.Either internet or the traditional forms of enterprises all construct oneself how research and practice are based on Docker IT infrastructure.Because how to provide more Digital Services within the shorter time for enterprise and directly determine The profit space of enterprise, however to realize this point, it is desirable to enterprise improves the agility of exploitation and constantly using the skill updated Art.This is exactly the point of penetration of Docker.The epoch persistently disposed now have arrived, and development/testing link is that support is whole The basis of a stream that maps out the work.Within the entire product life cycle, enterprise will constantly be tested, be reconstructed, in such case Under, versatility is just than reusability much more significant.
For disposing the Docker running environment of single host, user needs installation https CA certificate manually, adds GPG Key adds four steps such as the source Docker apt and installation Docker.For more host running environment, the side disposed by hand Formula not only low efficiency and also be not easy guarantee consistency.For this problem, the solution that Docker is provided is Docker Machine.Docker host can be installed and configure in batches with Docker Machine.But using Docker Machine The premise of deployment way be that the source Docker apt of the good host of manual configuration, All hosts will be downloaded so as to Docker's Installation kit.This deployment way extremely wastes flow, seriously limited by network speed and time-consuming is extremely long.
For using Docker Machine batch to install in the prior art and configuration waste flow, limit by network speed, time-consuming Extremely long problem, there has been no effective solution schemes at present.
Summary of the invention
In view of this, the purpose of the embodiment of the present invention is to propose a kind of dispose on more hosts and dispensing containers engine The method and apparatus of running environment, can be for different hosts or the deployment of different types of host batch and dispensing containers engine Running environment carries out automatically dispose installation, reduces flow consumption, is not influenced by network speed and shorten time-consuming.
Based on above-mentioned purpose, the one side of the embodiment of the present invention provides one kind deployment and dispensing containers on more hosts and draws The method for holding up the running environment of (Docker), includes the following steps:
The privately owned source Docker is built, and Docker deployment tool is installed;
Multiple distance hosts are accessed using Docker deployment tool, obtain the respective system environments of multiple distance hosts, and Generate different deployment configuration scripts respectively according to respective system environments;
Different deployment configuration scripts is distributed in corresponding multiple distance hosts, and in multiple distance hosts respectively Different deployment configuration scripts is executed to dispose and configure Docker software respectively.
In some embodiments, building the privately owned source Docker is that the privately owned source Docker is built on deployment services device, is pacified Filling Docker deployment tool is that Docker deployment tool is installed on deployment services device.
In some embodiments, respective system environments is local physical host, local virtual host or public cloud master Machine;It is also used to provide running environment for Docker deployment tool after Docker deployment tool is installed on deployment services device.
In some embodiments, different deployment configuration script, after being distributed in corresponding multiple distance hosts, Execute following steps:
It checks and updates the depended software installed in multiple distance hosts;
Certificate is added into multiple distance hosts, and downloads and install Docker software;
Configure and start the service of Docker software.
In some embodiments, when checking the depended software installed in multiple distance hosts and needing to update, access The privately owned source Docker obtains more new data;When downloading Docker software, accesses the privately owned source Docker and obtain software data.
In some embodiments, Docker deployment tool accesses multiple distance hosts by SSH telnet mode, more The IP address of a distance host first is put onto advance in Docker deployment tool.
The another aspect of the embodiment of the present invention additionally provides a kind of operation disposed on more hosts with dispensing containers engine The device of environment, has used the above method.
The another aspect of the embodiment of the present invention additionally provides a kind of computer equipment, including memory, at least one processing Device and it is stored in the computer program that can be run on the memory and on the processor, described in the processor executes Above-mentioned method is executed when program.
The another aspect of the embodiment of the present invention additionally provides a kind of computer readable storage medium, described computer-readable Storage medium is stored with computer program, and the computer program executes above-mentioned method when being executed by processor.
The another aspect of the embodiment of the present invention additionally provides a kind of computer program product, the computer program product Including the calculation procedure being stored on computer readable storage medium, the calculation procedure includes instruction, when described instruction is counted When calculation machine executes, the computer is made to execute the above method.
The present invention has following advantageous effects:Deployment and dispensing containers provided in an embodiment of the present invention on more hosts The method and apparatus of the running environment of engine is used by building the privately owned source Docker and installing Docker deployment tool Docker deployment tool accesses multiple distance hosts and obtains the respective system environments of multiple distance hosts and according to respective system Environment generates different deployment configuration scripts respectively, and different deployment configuration scripts is distributed in corresponding multiple distance hosts And execute different deployment configuration scripts respectively in multiple distance hosts to dispose and configure the technical side of Docker software respectively Case can carry out automatic for different hosts or the running environment of different types of host batch deployment and dispensing containers engine Change deployment installation, reduces flow consumption, do not influenced by network speed and shorten time-consuming.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is that provided by the invention dispose on more hosts is shown with the process of the method for the running environment of dispensing containers engine It is intended to;
Fig. 2 is the flow diagram of the method for the installation configuration of deployment services device provided by the invention;
Fig. 3 is the flow diagram of the method for the deployment configuration of Docker running environment provided by the invention;
Fig. 4 is the method disposed on more hosts described in execution provided by the invention with the running environment of dispensing containers engine Computer equipment one embodiment hardware structural diagram.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with specific embodiment, and reference The embodiment of the present invention is further described in attached drawing.
It should be noted that all statements for using " first " and " second " are for differentiation two in the embodiment of the present invention The non-equal entity of a same names or non-equal parameter, it is seen that " first " " second " only for the convenience of statement, does not answer It is interpreted as the restriction to the embodiment of the present invention, subsequent embodiment no longer illustrates this one by one.
Based on above-mentioned purpose, the first aspect of the embodiment of the present invention, proposing one kind can for different hosts or not The embodiment of the method for the running environment of the host batch deployment and dispensing containers engine of same type.Shown in fig. 1 is the present invention The flow diagram disposed on more hosts with the embodiment of the method for the running environment of dispensing containers engine provided.
The method disposed on more hosts with the running environment of dispensing containers engine, includes the following steps:
Step S101 builds the privately owned source Docker, and installs Docker deployment tool;
Step S103 accesses multiple distance hosts using Docker deployment tool, obtains the respective system of multiple distance hosts System environment, and generate different deployment configuration scripts respectively according to respective system environments;
Different deployment configuration scripts is distributed in corresponding multiple distance hosts by step S105, and multiple long-range Different deployment configuration scripts is executed in host respectively to dispose and configure Docker software respectively.
In some embodiments, building the privately owned source Docker is that the privately owned source Docker is built on deployment services device, is pacified Filling Docker deployment tool is that Docker deployment tool is installed on deployment services device.
The Docker software package and its depended software installed under different docker running environment are also different.In order to realize Flow is saved in the utmostly multiplexing of Docker software package, and building the privately owned source Docker is to implement more host Docker operation rings The first step of border deployment configuration.Optimal embodiment is that the privately owned source privately owned Docker is built on deployment services device, deployment clothes Device of being engaged in is also the running environment of Docker for the reason of resource multiplex.Under other hosts can be by the way of local area network duplication Carry Docker software package.
Docker deployment tool is mounted on deployment services device, and long-range master is generally managed by the way of SSH telnet Machine.Network configuration, resource size and software installation of different distance hosts etc. are all not quite similar, and Docker deployment tool logs in this It can be collected after a little distance hosts and the information such as the network configuration, system version and the software installation that save these hosts, thus according to The actual conditions of different distance hosts generate different deployment configuration scripts, provide unitized interface for these distance hosts, with Facilitate distance host downloading installation Docker software.
In some embodiments, respective system environments is local physical host, local virtual host or public cloud master Machine;It is also used to provide running environment for Docker deployment tool after Docker deployment tool is installed on deployment services device.
Docker deployment tool can install and configure in batches Docker host, and Docker host can be local void Quasi- machine, physical machine, the cloud host being also possible in public cloud.Docker deployment tool supports installation configuration in different environments Docker host, including conventional operating systems (Linux), virtual platform (VirtualBox, VMWare, Hyper-V) or Public cloud (Amazon Web Services, Microsoft Azure, Google Compute Engine, OpenStack Deng).These environment can be collectively referred to as provider.For some specific provider, Docker deployment tool uses phase The driver installation answered and configuration Docker host.
Deployment configuration script is for eliminating difference caused by software installation and network configuration on different distance hosts.Deployment is matched The content for setting script can be Linux command row, save the order line operation that distance host needs to be implemented.User will remotely lead After the IP address of machine is added in the white list of Docker deployment tool, Docker deployment tool according to each distance host not Together, distribute respective deployment configuration script, in order to which the downloading of Docker software is installed.
In some embodiments, different deployment configuration script, after being distributed in corresponding multiple distance hosts, Execute following steps:
It checks and updates the depended software installed in multiple distance hosts;
Certificate is added into multiple distance hosts, and downloads and install Docker software;
Configure and start the service of Docker software.
Deployment configuration script saves the operation that distance host needs to be implemented in the form of such as Linux command.Script is completed The inspection and update, the duplication of certificate and the downloading of Docker software and automatic installation, docker that distance host software relies on take The configuration and starting of business, and check whether Docker software is successfully installed.
In some embodiments, when checking the depended software installed in multiple distance hosts and needing to update, access The privately owned source Docker obtains more new data;When downloading Docker software, accesses the privately owned source Docker and obtain software data.
A kind of specific embodiment is as shown in Figures 2 and 3.It is shown in the deployment services device installation configuration of Fig. 2:According to user Demand downloads the software package and its depended software that each goal systems needs on deployment services device, so that other mesh are convenient in creation The privately owned source Docker for the software package that mark host connection downloading respectively needs;Then the portion Docker is installed on deployment services device Administration's tool is to complete the installation and deployment of other host nodes.It is shown in the deployment configuration of the Docker running environment of Fig. 3:With After the IP address of distance host is added to the white list of Docker deployment tool by family, Docker deployment tool logs in these automatically Distance host, collects and saves the information of these hosts, and deployment services device can generate different deployment configurations according to these information Script, when user executes deployment operation on deployment services device, deployment configuration script can be automatically distributed to different long-range masters On machine, to complete the automatically dispose installation of Docker running environment.
From above-described embodiment as can be seen that provided in an embodiment of the present invention dispose and dispensing containers engine on more hosts The method of running environment is visited by building the privately owned source Docker and installing Docker deployment tool using Docker deployment tool Ask that multiple distance hosts obtain the respective system environments of multiple distance hosts and generate difference respectively according to respective system environments Deployment configuration script, different deployment configuration scripts is distributed in corresponding multiple distance hosts and in multiple distance hosts It executes different deployment configuration scripts respectively to dispose and configure the technical solution of Docker software respectively, different masters can be directed to Machine or the running environment of different types of host batch deployment and dispensing containers engine, carry out automatically dispose installation, reduce stream Amount consumption is not influenced by network speed and shortens time-consuming.
It is important to note that the method for the above-mentioned running environment of deployment and dispensing containers engine on more hosts is each Each step in a embodiment can be intersected, replaces, increases, be deleted, therefore, these reasonable permutation and combination transformation In being disposed on more hosts and the method for running environment of dispensing containers engine should also be as belonging to the scope of protection of the present invention, and And protection scope of the present invention should not be confined on the embodiment.
Based on above-mentioned purpose, the second aspect of the embodiment of the present invention, proposing one kind can for different hosts or not One embodiment of the device of the running environment of the host batch deployment and dispensing containers engine of same type.It is described in more hosts The device of the running environment of upper deployment and dispensing containers engine has used above-mentioned deployment and dispensing containers engine on more hosts Running environment method.
From above-described embodiment as can be seen that provided in an embodiment of the present invention dispose and dispensing containers engine on more hosts The device of running environment is visited by building the privately owned source Docker and installing Docker deployment tool using Docker deployment tool Ask that multiple distance hosts obtain the respective system environments of multiple distance hosts and generate difference respectively according to respective system environments Deployment configuration script, different deployment configuration scripts is distributed in corresponding multiple distance hosts and in multiple distance hosts It executes different deployment configuration scripts respectively to dispose and configure the technical solution of Docker software respectively, different masters can be directed to Machine or the running environment of different types of host batch deployment and dispensing containers engine, carry out automatically dispose installation, reduce stream Amount consumption is not influenced by network speed and shortens time-consuming.
It is important to note that the above-mentioned reality disposed on more hosts with the device of the running environment of dispensing containers engine Example is applied to illustrate using described dispose on more hosts with the embodiment of the method for the running environment of dispensing containers engine The course of work of each module, those skilled in the art can be it is readily conceivable that by these module applications to described on more hosts In the other embodiments of the method for the running environment of deployment and dispensing containers engine.Certainly, it is disposed on more hosts due to described It can intersect, replace, increase, delete with each step in the embodiment of the method for the running environment of dispensing containers engine Subtract, therefore, the running environment in the deployment and dispensing containers engine on more hosts of these reasonable permutation and combination transformation Device should also be as belonging to the scope of protection of the present invention, and protection scope of the present invention should not be confined to the embodiment it On.
Based on above-mentioned purpose, in terms of the third of the embodiment of the present invention, propose described in a kind of execution on more host tops One embodiment of the computer equipment of the method for the running environment of administration and dispensing containers engine.
The computer equipment with the method for the running environment of dispensing containers engine is disposed described in the execution on more hosts Including memory, at least one processor and the computer program that can be run on a memory and on a processor is stored, place Reason device executes any one of the above method when executing program.
As shown in figure 4, for the operation ring with dispensing containers engine is disposed described in execution provided by the invention on more hosts The hardware structural diagram of one embodiment of the computer equipment of the method in border.
It include a processor 401 and one in the computer equipment by taking computer equipment as shown in Figure 4 as an example Memory 402, and can also include:Input unit 403 and output device 404.
Processor 401, memory 402, input unit 403 and output device 404 can pass through bus or other modes It connects, in Fig. 4 for being connected by bus.
Memory 402 is used as a kind of non-volatile computer readable storage medium storing program for executing, can be used for storing non-volatile software journey Sequence, non-volatile computer executable program and module, dispose and match on more hosts as described in the embodiment of the present application Set the corresponding program instruction/module of method of the running environment of container engine.Processor 401 is stored in memory by operation Non-volatile software program, instruction and module in 402, at the various function application and data of server Reason, the i.e. method of realization above method embodiment disposed on more hosts with the running environment of dispensing containers engine.
Memory 402 may include storing program area and storage data area, wherein storing program area can store operation system Application program required for system, at least one function;Storage data area can be stored according to deployment and dispensing containers on more hosts The device of the running environment of engine uses created data etc..In addition, memory 402 may include that high random access is deposited Reservoir, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or other are non-volatile Property solid-state memory.In some embodiments, it includes the storage remotely located relative to processor 401 that memory 402 is optional Device, these remote memories can pass through network connection to local module.The example of above-mentioned network include but is not limited to internet, Intranet, local area network, mobile radio communication and combinations thereof.
Input unit 403 can receive the number or character information of input, and generates and dispose and configure on more hosts The related key signals input of the user setting and function control of the device of the running environment of container engine.Output device 404 can Equipment is shown including display screen etc..
It is one or more of that journey corresponding with the method for the running environment of dispensing containers engine is disposed on more hosts Sequence instruction/module is stored in the memory 402, when being executed by the processor 401, is executed above-mentioned any means and is implemented Being disposed on more hosts in example and the method for the running environment of dispensing containers engine.
The computer equipment with the method for the running environment of dispensing containers engine is disposed described in the execution on more hosts Any one embodiment, can achieve the identical or similar effect of corresponding aforementioned any means embodiment.
Based on above-mentioned purpose, the 4th aspect of the embodiment of the present invention proposes a kind of computer readable storage medium, institute Stating computer-readable recording medium storage has computer executable instructions, which can be performed above-mentioned any side Being disposed on more hosts in method embodiment and the method for the running environment of dispensing containers engine and the above-mentioned any device of realization/be Being disposed on more hosts in embodiment of uniting and the device/system of the running environment of dispensing containers engine.It is described computer-readable It is identical or similar as device/system embodiment to can achieve corresponding aforementioned any means for the embodiment of storage medium As effect.
Based on above-mentioned purpose, the 5th aspect of the embodiment of the present invention proposes a kind of computer program product, the calculating Machine program product includes the calculation procedure being stored on computer readable storage medium, which includes instruction, when this When instruction is computer-executed, so that the computer is executed disposing and configuring on more hosts in above-mentioned any means embodiment and hold Disposing and configuring on more hosts in the method and the above-mentioned any device/system embodiment of realization of the running environment of device engine is held The device/system of the running environment of device engine.The embodiment of the computer program product can achieve corresponding aforementioned Any means effect identical or similar with device/system embodiment.
Finally, it should be noted that those of ordinary skill in the art will appreciate that realizing the whole in above-described embodiment method Or part process, related hardware can be instructed to complete by computer program, the program can be stored in a computer In read/write memory medium, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, described Storage medium can be magnetic disk, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..The embodiment of the computer program can achieve corresponding aforementioned The identical or similar effect of embodiment of the method for anticipating.
In addition, typically, it can be various electric terminal equipments, example that the embodiment of the present invention, which discloses described device, equipment etc., Such as mobile phone, personal digital assistant (PDA), tablet computer (PAD), smart television, are also possible to large-scale terminal device, such as service Device etc., therefore protection scope disclosed by the embodiments of the present invention should not limit as certain certain types of device, equipment.The present invention is real Apply example disclose the client can be applied to the combining form of electronic hardware, computer software or both it is above-mentioned any In a kind of electric terminal equipment.
In addition, disclosed method is also implemented as the computer program executed by CPU according to embodiments of the present invention, it should Computer program may be stored in a computer readable storage medium.When the computer program is executed by CPU, the present invention is executed The above-mentioned function of being limited in method disclosed in embodiment.
In addition, above method step and system unit also can use controller and for storing so that controller is real The computer readable storage medium of the computer program of existing above-mentioned steps or Elementary Function is realized.
In addition, it should be appreciated that computer readable storage medium (for example, memory) as described herein can be it is volatile Property memory or nonvolatile memory, or may include both volatile memory and nonvolatile memory.As example And not restrictive, nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable to son ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory.Volatile memory may include arbitrary access Memory (RAM), the RAM can serve as external cache.As an example and not restrictive, RAM can be with more Kind form obtains, such as synchronous random access memory (DRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate SDRAM (DDR SDRAM), enhancing SDRAM (ESDRAM), synchronization link DRAM (SLDRAM) and directly Rambus RAM (DRRAM). The storage equipment of disclosed aspect is intended to the memory of including but not limited to these and other suitable type.
Those skilled in the art will also understand is that, various illustrative logical blocks, mould in conjunction with described in disclosure herein Block, circuit and algorithm steps may be implemented as the combination of electronic hardware, computer software or both.It is hard in order to clearly demonstrate This interchangeability of part and software, with regard to various exemplary components, square, module, circuit and step function to its into General description is gone.This function is implemented as software and is also implemented as hardware depending on concrete application and application To the design constraint of whole system.Those skilled in the art can realize described in various ways for every kind of concrete application Function, but this realization decision should not be interpreted as causing a departure from range disclosed by the embodiments of the present invention.
Various illustrative logical blocks, module and circuit, which can use, in conjunction with described in disclosure herein is designed to The following component of function described here is executed to realize or execute:General processor, digital signal processor (DSP), dedicated collection At circuit (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, divide Any combination of vertical hardware component or these components.General processor can be microprocessor, but alternatively, processing Device can be any conventional processors, controller, microcontroller or state machine.Processor also may be implemented as calculating equipment Combination, for example, the combination of DSP and microprocessor, multi-microprocessor, one or more microprocessors combination DSP and/or any Other this configurations.
The step of method in conjunction with described in disclosure herein or algorithm, can be directly contained in hardware, be held by processor In capable software module or in combination of the two.Software module may reside within RAM memory, flash memory, ROM storage Device, eprom memory, eeprom memory, register, hard disk, removable disk, CD-ROM or known in the art it is any its In the storage medium of its form.Illustrative storage medium is coupled to processor, enables a processor to from the storage medium Information is written to the storage medium in middle reading information.In an alternative, the storage medium can be with processor collection At together.Pocessor and storage media may reside in ASIC.ASIC may reside in user terminal.It is replaced at one In scheme, it is resident in the user terminal that pocessor and storage media can be used as discrete assembly.
In one or more exemplary designs, the function can be real in hardware, software, firmware or any combination thereof It is existing.If realized in software, can be stored in using the function as one or more instruction or code computer-readable It is transmitted on medium or by computer-readable medium.Computer-readable medium includes computer storage media and communication media, The communication media includes any medium for helping for computer program to be transmitted to another position from a position.Storage medium It can be any usable medium that can be accessed by a general purpose or special purpose computer.As an example and not restrictive, the computer Readable medium may include RAM, ROM, EEPROM, CD-ROM or other optical disc memory apparatus, disk storage equipment or other magnetic Property storage equipment, or can be used for carry or storage form be instruct or data structure required program code and can Any other medium accessed by general or specialized computer or general or specialized processor.In addition, any connection is ok It is properly termed as computer-readable medium.For example, if using coaxial cable, optical fiber cable, twisted pair, digital subscriber line (DSL) or such as wireless technology of infrared ray, radio and microwave to send software from website, server or other remote sources, Then above-mentioned coaxial cable, optical fiber cable, twisted pair, DSL or such as wireless technology of infrared ray, radio and microwave are included in The definition of medium.As used herein, disk and CD include compact disk (CD), laser disk, CD, digital versatile disc (DVD), floppy disk, Blu-ray disc, wherein disk usually magnetically reproduce data, and CD using laser optics reproduce data.On The combination for stating content should also be as being included in the range of computer-readable medium.
It is exemplary embodiment disclosed by the invention above, it should be noted that in the sheet limited without departing substantially from claim Under the premise of inventive embodiments scope of disclosure, it may be many modifications and modify.According to open embodiment described herein The function of claim to a method, step and/or movement be not required to the execution of any particular order.In addition, although the present invention is implemented Element disclosed in example can be described or be required in the form of individual, but be unless explicitly limited odd number, it is understood that be multiple.
It should be understood that it is used in the present context, unless the context clearly supports exceptions, singular " one It is a " (" a ", " an ", " the ") be intended to also include plural form.It is to be further understood that "and/or" used herein is Refer to any and all possible combinations including one or more than one project listed in association.
It is for illustration only that the embodiments of the present invention disclose embodiment sequence number, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
Those of ordinary skills in the art should understand that:The discussion of any of the above embodiment is exemplary only, not It is intended to imply that range disclosed by the embodiments of the present invention (including claim) is limited to these examples;In the think of of the embodiment of the present invention Under road, it can also be combined between the technical characteristic in above embodiments or different embodiments, and exist as described above Many other variations of the different aspect of the embodiment of the present invention, for simplicity, they are not provided in details.Therefore, all at this Within the spirit and principle of inventive embodiments, any omission, modification, equivalent replacement, improvement for being made etc. should be included in this hair Within the protection scope of bright embodiment.

Claims (10)

1. a kind of method disposed on more hosts with the running environment of dispensing containers engine, which is characterized in that including following step Suddenly:
The privately owned source Docker is built, and Docker deployment tool is installed;
Multiple distance hosts are accessed using the Docker deployment tool, obtain the respective system ring of the multiple distance host Border, and generate different deployment configuration scripts respectively according to the respective system environments;
The different deployment configuration script is distributed in corresponding the multiple distance host, and in the multiple long-range master The different deployment configuration script is executed in machine respectively to dispose and configure Docker software respectively.
2. the method according to claim 1, wherein building the privately owned source Docker is in the deployment services The privately owned source Docker is built on device, and the Docker deployment tool is installed for described in the installation on the deployment services device Docker deployment tool.
3. according to the method described in claim 2, it is characterized in that, the respective system environments is local physical host, sheet Ground fictitious host computer or public cloud host;Installed on the deployment services device be also used to after the Docker deployment tool for The Docker deployment tool provides running environment.
4. the method according to claim 1, wherein the different deployment configuration script, it is being distributed to pair After in the multiple distance host answered, following steps are executed:
It checks and updates the depended software installed in the multiple distance host;
Certificate is added into the multiple distance host, and downloads and install the Docker software;
Configure and start the service of the Docker software.
5. according to the method described in claim 4, it is characterized in that, when check installed in the multiple distance host it is described When depended software needs to update, the privately owned source Docker is accessed to obtain more new data;When downloading the Docker software The privately owned source Docker is accessed to obtain software data.
6. the method according to claim 1, wherein the Docker deployment tool passes through the telnet side SSH Formula accesses the multiple distance host, and the IP address of the multiple distance host first is put onto the Docker deployment tool in advance In.
7. a kind of device disposed on more hosts with the running environment of dispensing containers engine, which is characterized in that using such as right It is required that method described in 1-6 any one.
8. a kind of computer equipment, including memory, at least one processor and it is stored on the memory and can be in institute State the computer program run on processor, which is characterized in that the processor executes such as claim when executing described program Method described in 1-6 any one.
9. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In perform claim requires method described in 1-6 any one when the computer program is executed by processor.
10. a kind of computer program product, which is characterized in that the computer program product includes being stored in computer-readable deposit Calculation procedure on storage media, the calculation procedure include instruction, when described instruction is computer-executed, make the computer Perform claim requires method described in 1-6 any one.
CN201810651515.6A 2018-06-22 2018-06-22 The method and apparatus with the running environment of dispensing containers engine is disposed on more hosts Pending CN108920174A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810651515.6A CN108920174A (en) 2018-06-22 2018-06-22 The method and apparatus with the running environment of dispensing containers engine is disposed on more hosts

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810651515.6A CN108920174A (en) 2018-06-22 2018-06-22 The method and apparatus with the running environment of dispensing containers engine is disposed on more hosts

Publications (1)

Publication Number Publication Date
CN108920174A true CN108920174A (en) 2018-11-30

Family

ID=64422297

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810651515.6A Pending CN108920174A (en) 2018-06-22 2018-06-22 The method and apparatus with the running environment of dispensing containers engine is disposed on more hosts

Country Status (1)

Country Link
CN (1) CN108920174A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109871258A (en) * 2019-01-17 2019-06-11 珠海金山网络游戏科技有限公司 The method and device of modification host configuration based on distributed container
CN111506383A (en) * 2019-01-30 2020-08-07 广州泰迪智能科技有限公司 Big data and artificial intelligence teaching training environment and resource integration method based on solid state disk
CN111611008A (en) * 2020-05-22 2020-09-01 浪潮电子信息产业股份有限公司 Software code packaging and deploying method, device, equipment and storage medium
CN112148306A (en) * 2019-06-26 2020-12-29 普天信息技术有限公司 Micro-service operation and maintenance management system and method
WO2021003729A1 (en) * 2019-07-11 2021-01-14 深圳市大疆创新科技有限公司 Configuration method, physical device, server and computer readable storage medium
CN112799778A (en) * 2020-12-31 2021-05-14 山东浪潮通软信息科技有限公司 Container application starting method, device and medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866338A (en) * 2015-04-27 2015-08-26 努比亚技术有限公司 Method and device for remotely deploying software
CN105490860A (en) * 2015-12-24 2016-04-13 北京奇虎科技有限公司 Method, device and system for deploying application program operation environment
CN105511872A (en) * 2015-11-30 2016-04-20 国云科技股份有限公司 Application automatic deployment method based on cloud computing platform
CN106293820A (en) * 2016-08-02 2017-01-04 山东大学 Exploitation test O&M integral system, deployment, full dose and increment updating method
CN106325951A (en) * 2016-08-30 2017-01-11 广西电网有限责任公司 Automatic deployment method for application system supporting multiple databases and multiple middleware types
CN107465548A (en) * 2017-08-17 2017-12-12 北京云纵信息技术有限公司 The dispositions method and device of code
CN107483572A (en) * 2017-08-08 2017-12-15 北京奇艺世纪科技有限公司 The dispositions method and device of a kind of server
CN107566541A (en) * 2017-08-03 2018-01-09 携程旅游信息技术(上海)有限公司 Capacitor network resource allocation methods, system, storage medium and electronic equipment
US20180146069A1 (en) * 2016-11-18 2018-05-24 Sap Se Efficient application build/deployment for distributed container cloud platform

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866338A (en) * 2015-04-27 2015-08-26 努比亚技术有限公司 Method and device for remotely deploying software
CN105511872A (en) * 2015-11-30 2016-04-20 国云科技股份有限公司 Application automatic deployment method based on cloud computing platform
CN105490860A (en) * 2015-12-24 2016-04-13 北京奇虎科技有限公司 Method, device and system for deploying application program operation environment
CN106293820A (en) * 2016-08-02 2017-01-04 山东大学 Exploitation test O&M integral system, deployment, full dose and increment updating method
CN106325951A (en) * 2016-08-30 2017-01-11 广西电网有限责任公司 Automatic deployment method for application system supporting multiple databases and multiple middleware types
US20180146069A1 (en) * 2016-11-18 2018-05-24 Sap Se Efficient application build/deployment for distributed container cloud platform
CN107566541A (en) * 2017-08-03 2018-01-09 携程旅游信息技术(上海)有限公司 Capacitor network resource allocation methods, system, storage medium and electronic equipment
CN107483572A (en) * 2017-08-08 2017-12-15 北京奇艺世纪科技有限公司 The dispositions method and device of a kind of server
CN107465548A (en) * 2017-08-17 2017-12-12 北京云纵信息技术有限公司 The dispositions method and device of code

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109871258A (en) * 2019-01-17 2019-06-11 珠海金山网络游戏科技有限公司 The method and device of modification host configuration based on distributed container
CN111506383A (en) * 2019-01-30 2020-08-07 广州泰迪智能科技有限公司 Big data and artificial intelligence teaching training environment and resource integration method based on solid state disk
CN112148306A (en) * 2019-06-26 2020-12-29 普天信息技术有限公司 Micro-service operation and maintenance management system and method
WO2021003729A1 (en) * 2019-07-11 2021-01-14 深圳市大疆创新科技有限公司 Configuration method, physical device, server and computer readable storage medium
CN111611008A (en) * 2020-05-22 2020-09-01 浪潮电子信息产业股份有限公司 Software code packaging and deploying method, device, equipment and storage medium
CN112799778A (en) * 2020-12-31 2021-05-14 山东浪潮通软信息科技有限公司 Container application starting method, device and medium

Similar Documents

Publication Publication Date Title
CN108920174A (en) The method and apparatus with the running environment of dispensing containers engine is disposed on more hosts
CN108965468B (en) Block chain network service platform, chain code installation method thereof and storage medium
CN107766126B (en) Container mirror image construction method, system and device and storage medium
US9792141B1 (en) Configured generation of virtual machine images
CN110908859B (en) Application service processing method, device, terminal and storage medium
JP6677294B2 (en) Network system, patch file application method, and program
US20190082004A1 (en) Systems and methods for instantiating services on top of services
CN103608773A (en) Deployment system for multi-node applications
CN105630488A (en) Docker container technology-based continuous integration realizing method
US10509642B2 (en) Intelligent discovery and application of API changes for application migration
WO2017000429A1 (en) Software automation test method and device
US20150039875A1 (en) Deployment of Software Images with Distinct Configuration Logic
CN110945480A (en) System and method for updating and loading applications
CN109408062A (en) A kind of method and apparatus of automatic deployment model training environment
US11188354B1 (en) Sharing cached class data in a containerized environment
US11327750B1 (en) Domain-driven application breakout
CN103942281A (en) Method and device for operating object persistently stored
US11977919B2 (en) Apparatus and method of securely and efficiently interfacing with a cloud computing service
CN112631728A (en) Method, device, equipment and storage medium for managing chain code container of alliance chain
CN110262821A (en) A kind of management method of software module, device and server
CN115421740A (en) Deployment method and device of cloud native application
CN117112122A (en) Cluster deployment method and device
CN105103125A (en) Method for obtaining clock interruption signal, and nfv functional entity
CN106802805B (en) Application service management method and device suitable for server management
US9483490B1 (en) Generation of a cloud application image

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181130

RJ01 Rejection of invention patent application after publication