Container persistent-storage mounting method

A persistent storage and container technology, applied in the computer field, can solve the problem of not supporting Cinder shared storage, and achieve the effect of solving the persistent storage problem

Inactive Publication Date: 2018-10-19
中科边缘智慧信息科技(苏州)有限公司
View PDF6 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] But because Docker uses local storage, Cinder shared storage is not supported

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
  • Container persistent-storage mounting method
  • Container persistent-storage mounting method
  • Container persistent-storage mounting method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0041] figure 1 It is a schematic structural diagram of the overall deployment architecture of the cloud platform for container persistent storage mounting provided by an embodiment of the application, as shown in figure 1 As shown, the cloud platform at least includes: identity verification service 110 , mirroring service 120 , computing service 130 , network management service 140 , and visualization component 150 .

[0042] The identity authentication service 110 is used to provide a unified and complete identity authentication, service directory, token and access policy services for the entire cloud platform.

[0043] The image service 120 is configured to provide di...

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 application relates to a container persistent-storage mounting method, and belongs to the technical field of computers. The method includes: receiving a container creation request, wherein the container creation request includes a container identifier of a to-be-created container; reading a pre-stored configuration file according to the container creation request, wherein the configuration file includes a volume directory address and a mapping address of mapping a volume into the to-be-created container; establishing a binding relationship among the container identifier, the volume directory address and the mapping address; and creating the container with the container identifier, wherein data provided by the container synchronously change with data, which are indicated by the volume directory address, through the binding relationship. The persistence storage problem of partial data in container instances can be solved, and an effect that the data in the container can be saved intoa local file system is realized.

Description

technical field [0001] The invention relates to a container persistent storage mounting method, which belongs to the technical field of computers. Background technique [0002] To implement copy-on-write, containers use a feature called an overlay file system. That is, when the root image needs to be modified, the container will use this feature to write the changed content to the independent area and "overwrite" the original content. Such modifications are usually transient, that is, typically, when the container is deleted, the modifications are no longer present. Therefore, containers have no persistent storage by default. [0003] To solve the storage problem, tools like Docker provide new features for more persistent storage: Docker volumes and data containers. [0004] But because Docker uses local storage, Cinder shared storage is not supported. Contents of the invention [0005] The purpose of the present invention is to provide a technical solution that can sa...

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): G06F3/06
CPCG06F3/0604G06F3/0635G06F3/0655G06F3/0689
Inventor 李新明刘斌
Owner 中科边缘智慧信息科技(苏州)有限公司
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