Building method and device for distributed development environment based on Docker

A development environment and distributed technology, applied in the computer field, can solve problems such as time-consuming, labor-intensive, resource-consuming, and mutual interference between servers

Active Publication Date: 2016-08-03
GUANGDONG ESHORE TECH
View PDF3 Cites 33 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The current form of distributed system development has become the mainstream development form. A project often matches dozens of services, so it often needs to develop several servers to support it, and the deployment of each server is also different. The construction

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Building method and device for distributed development environment based on Docker
  • Building method and device for distributed development environment based on Docker
  • Building method and device for distributed development environment based on Docker

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0010] The following will clearly and completely describe the technical solutions in the embodiments in combination with the drawings in the embodiments of the present invention.

[0011] The method for building a distributed development environment provided by the embodiment of the present invention utilizes Docker technology to copy the source code of the subsystem from the code warehouse to the code development IDE, and the boot2docker virtual machine also establishes a connection with the code development IDE for the boot2docker virtual machine. The machine can share the source code of the subsystem; also build the image and docker container that match the subsystem of the distributed service in the boot2docker virtual machine, so that the source code of the subsystem can run in the matching docker container. Since the image and docker container are deployed on the same boot2docker virtual machine, and the code development IDE and boot2docker virtual machine are deployed on...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a building method for distributed development environment based on Docker. The building method comprises the following steps: receiving selection information for selecting a dockerfile file from a local prestored dockerfile file list by a user; judging whether the selected dockerfile file is the latest dockerfile file or not; if yes, reproducing source codes of a subsystem from a codebase according to the selected dockerfile file; building mirror images of the subsystem according to the latest dockerfile file; through the mirror images, building a docker container, and operating the source codes of the subsystem in the docker container. The building method realizes single machine deployment of the distributed development environment. The invention further discloses a building device applying the building method.

Description

technical field [0001] The present invention relates to the field of computers, in particular to a method and device for building a Docker-based distributed development environment. Background technique [0002] The current form of distributed system development has become the mainstream development form. A project often matches dozens of services, so it often needs to develop several servers to support it, and the deployment of each server is also different. The construction process will take time and effort. and resources, but if the development environment is shared, it is easy to cause mutual interference between servers. Therefore, it is necessary to build a simple, operable development environment that can avoid mutual interference between servers. Contents of the invention [0003] In view of this, it is necessary to provide a method and device for building a distributed development environment based on Docker, which centralizes a complex distributed development env...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/44
CPCG06F8/60
Inventor 王沛文钟坚廖小文曹建平
Owner GUANGDONG ESHORE TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products