Processing for multiple containers are deployed on the physical machine
Abstract:
This application provide a method of processing a process in a container. The method is used in a physical machine, multiple containers are deployed on the physical machine, the physical machine includes a watchdog drive, and the method includes: receiving, by the watchdog drive, a first operation instruction of a first container by using a dev which is a device file, where the first operation instruction includes a first process identification PID, and the first PID represents that the first operation instruction is delivered by a first process in the first container; determining, according to the first PID, first namespace corresponding to the first container; and deleting all processes in the first container according to the first namespace.
Public/Granted literature
Information query
Patent Agency Ranking
0/0