Docker-based test method and device

A testing method and a technology to be tested are applied in the field of computer security and can solve problems such as security risks

Inactive Publication Date: 2019-04-19
XIAN SECLOVER INFORMATION TECH CO LTD
View PDF4 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present disclosure provide a method and device for constructing a sandbox environment, which can solve the problem of security risks due to the open source code of third-party libraries

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-based test method and device
  • Docker-based test method and device
  • Docker-based test method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

[0040] The embodiment of the present disclosure provides a docker-based testing method, such as figure 1 As shown, the docker-based testing method includes the following steps:

[0041] 101. Build a container test environment based on the application container engine docker.

[0042] In the embodiment of the present disclosure, building a container test environment based on the appli...

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-based test method and device, relates to the technical field of computer security, and can solve the problem of security risk caused by code open source of a third-party library. The specific technical scheme is as follows: constructing a container test environment based on an application container engine docker; Operating a python test case in the container test environment; And obtaining a test result of the python test case.

Description

technical field [0001] The present disclosure relates to the technical field of computer security, in particular to a docker-based testing method and device. Background technique [0002] Sandbox, also known as sandbox or sandbox, refers to a virtual technology in the computer field. Its basic principle is: according to the real operating environment of computer programs, create a virtual operating environment and encapsulate each program in a different box. , so as to ensure that the python environment of each program is independent. When a program tries to function, it can be run in the sandbox first, and all changes made by the program in the sandbox will not have any impact on the real operating environment. [0003] In the prior art, a third-party library virtualenv is used to create a sandbox environment. Although the third-party library virtualenv provides convenience for python users, the code of the third-party library virtualenv is open source and there are securi...

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): G06F11/36G06F21/53
CPCG06F11/3688G06F21/53
Inventor 孙威朱利军赵培源
Owner XIAN SECLOVER INFORMATION TECH CO LTD
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