Method and device for detecting service port of container, medium and computing equipment

The invention discloses a method and device for detecting a service port of a container, a medium and computing equipment. The container is used for deploying and running a corresponding application at a background server, and the method comprises the following steps: acquiring a log feature corresp...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: DENG KUNLI, HUANG CANHUI, LONG HAOTIAN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a method and device for detecting a service port of a container, a medium and computing equipment. The container is used for deploying and running a corresponding application at a background server, and the method comprises the following steps: acquiring a log feature corresponding to a container log generated when the application is deployed and run at the container; determining a log screening feature representing the service port based on the log feature; and detecting an address of the service port from the log screening feature based on the candidate address representation of the service port. According to the scheme provided by the invention, the service port of the container can be automatically obtained, an analysis tool does not need to be implanted, the consumed time is short, the application range is wide, and the detection efficiency is greatly improved by the proposed two-step detection method. 公开了用于检测容器的服务端口的方法、装置、介质和计算设备。所述容器用于在后台服务器处部署和运行对应的应用,所述方法包括:获取在所述容器处部署和运行所述应用时生