Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Container operation method and device, equipment and storage medium

An operation method and container technology, applied in the computer field, can solve problems such as nested container operation failure, image file cannot be successfully obtained, etc., and achieve the effect of improving the success rate of container operation

Active Publication Date: 2021-11-23
ENVISION DIGITAL INT PTE LTD +1
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the nested container running scenario, the container shares the docker daemon on the host. Due to the isolation of the container, it can only obtain the image file of the host where the docker daemon resides.
[0004] However, during the running of the nested container, it is necessary to obtain some image files in the nested container, but due to permission issues, the image file in the nested container cannot be successfully obtained, which leads to the failure of the nested container to run

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 operation method and device, equipment and storage medium
  • Container operation method and device, equipment and storage medium
  • Container operation method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0028] The "plurality" mentioned herein means two or more. "And / or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and / or B may indicate: A exists alone, A and B exist simultaneously, and B exists independently. The character " / " generally indicates that the contextual objects are an "or" relationship.

[0029] Such as figure 1 As shown, docker is deployed in a way that the client and server are separated. Wherein, the docker client 101 (dockerclient) is a command line tool of docker, which communicates with the docker daemon 102 (dockerdaemon), and sends requests such as container construction and operation to the specified docker daemon. ...

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 embodiment of the invention discloses a container operation method and device, equipment and a storage medium, and belongs to the technical field of computers. The method comprises the following steps: starting a file cache container, wherein the file cache container is started by a first container; in response to a nested container construction instruction of the first container, storing a target mirror image file to the file cache container, the nested container construction instruction being used for instructing to construct a second container in the first container, and the target mirror image file being used for supporting operation of the second container; and in response to a running instruction of the second container, obtaining the target mirror image file in the file cache container, and running the second container based on the target mirror image file. In the embodiment of the invention, the target mirror image file can be directly obtained in the file cache container, and then the second container is operated based on the target mirror image file, so that the operation failure of the second container caused by the fact that the target mirror image file cannot be obtained is avoided, and the container operation success rate is improved.

Description

technical field [0001] The embodiments of the present application relate to the field of computer technology, and in particular, to a method, device, device, and storage medium for running a container. Background technique [0002] Currently, developers can package applications and dependencies into portable containers through the open source application container engine (docker), allowing them to run in any environment. Nested container (dockerindocker) refers to the technology that developers need to build images or run other containers in a container during the development process. [0003] When the container is running, it needs to run based on the image file. In the nested container running scenario, the container shares the docker daemon on the host. Due to the isolation of the container, it can only obtain the image file of the host where the docker daemon is located. [0004] However, during the running of the nested container, it is necessary to obtain some image ...

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/455
CPCG06F9/45558G06F2009/45566G06F2009/45562G06F2009/45575Y02D10/00
Inventor 于陈峰王强
Owner ENVISION DIGITAL INT PTE LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products