Method and system for web accessing docker container
A docker container and access request technology, which is applied in the field of cloud computing, can solve the problems of cumbersome remote access process and occupation of Docker host resources, etc., and achieve the effects of easy use, reduced configuration difficulty, and resource saving
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] A kind of method of Web accessing Docker container of the present invention uses access support component and Web access component, is respectively responsible for providing support function and Web access connection establishment and access function to Docker container access; Described method comprises the following steps:
[0043] (1) The user finds the Docker container to be accessed on the Web page and initiates an access request;
[0044](2) Judging user permissions by accessing support components; if there is no permission, the connection will be terminated and a failure message will be returned; if there is permission, a token (Token, representing the right to perform certain operations) will be created for the Docker container access object), and returns the token to the user;
[0045] (3) Obtain the ID of the Docker container and the IP address of the host machine by accessing the support component, and generate the URL address of the Docker container interfac...
Embodiment 2
[0049] A kind of method of Web accessing Docker container of the present invention uses access support component and Web access component, is respectively responsible for providing support function and Web access connection establishment and access function to Docker container access; Described method comprises the following steps:
[0050] (1) The user finds the Docker container to be accessed on the Web page and initiates an access request;
[0051] (2) Judging the user's authority by accessing the support component; if there is no authority, the connection will be terminated and a failure message will be returned; if there is authority, a token for the Docker container access will be created and the token will be returned to the user;
[0052] (3) Obtain the ID of the Docker container and the IP address of the host machine by accessing the support component, and generate the URL address of the Docker container interface;
[0053] (4) Verify the token through the Web access ...
Embodiment 3
[0057] A kind of method of Web accessing Docker container of the present invention uses access support component and Web access component, is respectively responsible for providing support function and Web access connection establishment and access function to Docker container access; Described method comprises the following steps:
[0058] (1) The user finds the Docker container to be accessed on the Web page and initiates an access request;
[0059] (2) Judging the user authority by accessing the support component; if there is no authority, the connection will be terminated and a failure message will be returned; if there is authority, the token for the Docker container access will be created, and when creating the token for the Docker container access, set Token expiration time, and return the token to the user;
[0060] (3) Obtain the ID of the Docker container and the IP address of the host machine by accessing the support component, and generate the URL address of the Do...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com