Unlock instant, AI-driven research and patent intelligence for your innovation.

A method of using docker container to realize virtual file system

A docker container and virtual file system technology, applied in the field of computer virtual storage, can solve the problems of high overhead and low file storage efficiency, and achieve the effect of reducing overhead and disk access times

Active Publication Date: 2020-06-16
SHANDONG INSPUR SCI RES INST CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, the storage overhead of this virtual file system is large, and the file storage efficiency is low.

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
  • A method of using docker container to realize virtual file system
  • A method of using docker container to realize virtual file system
  • A method of using docker container to realize virtual file system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0020] as attached image 3 As shown, use the Docker container to create a virtual environment, which has a configuration file, and use the configuration file to generate the container. Different underlying file systems are adapted to different containers, and each container contains file modification content blocks, file difference blocks, and file pointers.

[0021] When performing file modification and storage operations, the operation is actually performed in the file modification content block. After the operation is completed, it is compared with the file data in the file difference block, and if there is a difference, the file modification needs to be saved to the disk. To store a file, first use the file pointer to traverse the disk cache area. The disk cache area is a virtual area between the container and the disk, which stores the file pointer and a file operation queue inside.

[0022] Check whether there is a corresponding file in the disk cache area. If the dis...

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 relates to the technical field of computer virtual storage, in particular to a method for achieving a virtual file system by means of a Docker container. The method for achieving the virtual file system by means of the Docker container comprises the steps that a Docker container virtual environment is created; a physical address of a disk is mapped in the Docker container virtual environment through container configuration; when stored, a file is firstly cached in the Docker container virtual environment and then subjected to disk storage. According to the method for achieving the virtual file system by means of the Docker container, the container level virtualization technology Docker can be utilized for achieving the virtual file system, the storage overheads of an existing virtual file system are reduced, and the file storage efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of computer virtual storage, in particular to a method for realizing a virtual file system by using a Docker container. Background technique [0002] The operating system can support a variety of different underlying file systems (such as NTFS, FAT, ext3, ext4). Linux adds an abstraction layer between the user process and the underlying file system to provide a unified file system for the kernel and user processes. view, known as the virtual file system. On the one hand, the virtual file system provides a set of unified interfaces for accessing files, directories, and other objects, and on the other hand, it adapts to the underlying file system. [0003] Virtual file system architecture, such as figure 1 shown. [0004] Docker shares an operating system, abstracts the container concept, and isolates different containers from each other. Docker technology can enable containers to cross the barriers of phy...

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 Patents(China)
IPC IPC(8): G06F16/188
CPCG06F16/188
Inventor 宋健健戴鸿君于治楼
Owner SHANDONG INSPUR SCI RES INST CO LTD