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

Method for remotely controlling Docker container desktop through Web

A docker container and container technology, applied in the field of Docker containers, can solve problems such as network isolation and inaccessibility of remote clients, and achieve broad application prospects and strong practicability

Active Publication Date: 2019-11-22
福建中锐网络股份有限公司
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But there are two main problems at present: 1. The network where the Docker container is located is generally isolated, and external remote clients cannot access it.

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
  • Method for remotely controlling Docker container desktop through Web

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0023] The present invention provides a method for Web remote Docker container desktop, such as figure 1 shown, including the following steps:

[0024] 1) Deploy the VNC server proxy on a host that can access both the container network and the Web client network. In this embodiment, the VNC server agent is deployed in the host computer of the container. The network of the VNC server agent and the container is accessible, so it can establish a connection with the VNC server through the vnc protocol. And the Web can establish a Websocket connection with the VNC server proxy.

[0025] 2) Deploy the Docker background in the host machine of the container. The Docker background generates a token token for each container. The token has a certain timeout time and will automatically expire after the time expires; , the ip of the container,...

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 a method for remotely controlling a Docker container desktop through the Web. The method comprises the following steps: 1) deploying a VNC server agent in a host capable of accessing a container network and a Web client network; 2) deploying a Docker background in a host machine of the container, generating a token for each container by the Docker background, and informinga VNC server agent of related information of the container; 3) logging in a Docker background at a Web client by a Web user; when accessing a container, the Web client and the VNC server agent establish Websocket connection; comparing whether the related information of the container is consistent or not by the VNC server agent; if not, refusing the access of the user; if so, connecting the corresponding VNC server, then corresponding the two connections, and transferring the message data between the two connections. According to the method, the Web can be safely, conveniently and remotely connected with the VNC server.

Description

technical field [0001] The invention relates to the technical field of Docker containers, in particular to a method for Web remote Docker container desktop. Background technique [0002] Generally, Docker containers mainly run processes without a GUI. These processes can run in an environment without a GUI desktop, but processes with a GUI cannot run in this environment to display interactive windows, so a desktop environment with a GUI must be created. Docker image. [0003] X11 is a free-to-use X window system that provides users with a powerful graphical user interface. In the X11 protocol, it is divided into two parts: the X11 server and the X11 client. The X11 server is a module used to drive the specific display hardware to display data, while the X11 client receives the operation of the application program and the user, and generates a command to refresh the screen information and sends it to the server. Xvfb is a special implementation of the X11 server. The full ...

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
IPC IPC(8): H04L29/06H04L29/08G06F9/455G06F9/451H04L12/24
CPCG06F9/45558G06F2009/45595G06F9/452H04L41/046H04L63/0807H04L63/0876H04L63/0884H04L63/108H04L67/02H04L67/08
Inventor 郑建文林仙佑黄祖海
Owner 福建中锐网络股份有限公司