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

Container connection method, device and system and computer readable storage medium

A container and container management technology, applied in the computer field

Inactive Publication Date: 2019-06-07
ULTRAPOWER SOFTWARE
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Connecting to the container through the management tool is to connect the container through the Docker service management (API) call, but in this method, as long as the connection request initiated from the container management tool is determined to be a legal request, it can establish a connection with the container. In this way, illegal connections cannot be avoided, and there are security risks

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 connection method, device and system and computer readable storage medium
  • Container connection method, device and system and computer readable storage medium
  • Container connection method, device and system and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0040] figure 1 A schematic flowchart of a method for connecting containers according to an embodiment of the present invention is shown. like figure 1 As shown, the method includes:

[0041] Step S110, obtaining a container connection request with a token from the container management tool; the token is obtained from the server in advance by the container management tool.

[0042] Step S120, sending the token in the connection ...

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 container connecting method, device and system and a computer readable storage medium. The method comprises the following steps: obtaining a connection container request witha token of a container management tool; wherein the token is obtained by the container management tool from the server in advance; the token in the connection container request is sent to a server for verification, and a verification result returned by the server is received; and if the verification result is legal, establishing a first websocket connection with the container management service according to the connection container request. Therefore, the connection request in the scheme carries the token, whether the request is legal or not is judged through verification of the token, safetyverification of the request of the connection container is achieved, and the safety of the connection container is guaranteed.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method, device, system and computer-readable storage medium for connecting containers. Background technique [0002] The application container engine Docker allows developers to pack applications and dependencies into a portable container, and then publish it to any popular Linux machine, thus ensuring the consistency of the application environment, and the container is completely using the sandbox mechanism, mutual There won't be any interfaces. Therefore, a server host running the Linux operating system can host the operation of multiple containers, so that hardware resources can be used more reasonably. In order to facilitate the scheduling and management of multiple containers, various container management tools have been born. Whether you use container management tools or manually operate through Docker commands, it is essential to connect to the container befor...

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): G06F21/53G06F21/44
Inventor 赵琛
Owner ULTRAPOWER SOFTWARE
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