Method for remotely controlling Docker container desktop through Web
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 mac...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | 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 serve |
---|