Docker mirror image generation method and Docker container

A docker container and image technology, applied in the field of Docker containers, can solve problems such as low efficiency and complex process of Docker image generation scheme, achieve the effect of improving generation efficiency, avoiding tool configuration process, and improving application development efficiency

Active Publication Date: 2017-07-07
BEIJING SOHU NEW MEDIA INFORMATION TECH
View PDF15 Cites 42 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the present invention provides a Docker image generation method and a Docker container to solve the technical problems of complex process and low efficiency of the current Docker image generation scheme

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
  • Docker mirror image generation method and Docker container
  • Docker mirror image generation method and Docker container
  • Docker mirror image generation method and Docker container

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] For reference and clarity, descriptions, abbreviations or abbreviations of technical terms used in the following text are summarized as follows:

[0042] GitLab: Git is a free and open source distributed version control system for agile and efficient handling of any small or large projects, GitLab is an open source application developed using Ruby on Rails, which implements a self-hosted Git project repository (namely GitLab), users can access GitLab's public or private projects through the web interface.

[0043] Docker: It is an open source application container engine that allows developers to package their applications and dependencies into a portable container, and then publish it to any popular Linux machine, and can also implement virtualization. Containers use a sandbox mechanism completely, and there will be no interfaces between them.

[0044] Docker image (Docker image): It is a read-only file package generated according to the format specified by Docker. Ap...

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 provides a Docker mirror image generation method and a Docker container. The method comprises the steps of determining a code downloading address, a code compilation instruction and a Dockerfile file in a startup parameter of the Docker container; according to the code downloading address, downloading application codes; executing the code compilation instruction, wherein the code compilation instruction is used for compiling the application codes and generating a compilation result file; and according to the Dockerfile file and the compilation result file, generating a Docker mirror image. According to the Docker mirror image generation scheme, the code downloading, code compilation and mirror image generation processes are all executed in the Docker container without depending on a continuous integration tool, so that a complex tool configuration process is avoided, more usage demands can be met, the generation efficiency of the Docker mirror image is improved and the application development efficiency is improved.

Description

technical field [0001] The present invention relates to the field of computer technology, and more specifically, relates to a Docker image generation method and a Docker container. Background technique [0002] Docker is an open source software project that automates the deployment of applications in software containers. In the application development process, the process of development, deployment, and testing needs to be continuously executed, and the code compilation and packaging into a Docker image is the basis for application deployment, release, and operation and maintenance management. Therefore, the generation efficiency of Docker images greatly affects the efficiency of application development. [0003] Most of the current Docker image generation solutions rely on existing continuous integration tools, and these continuous integration tools have limitations in use and poor support for the code compilation process; moreover, for customized image construction requir...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445G06F9/45
CPCG06F8/443G06F9/44521
Inventor 刘菲
Owner BEIJING SOHU NEW MEDIA INFORMATION 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