-
公开(公告)号:US20190196864A1
公开(公告)日:2019-06-27
申请号:US16287218
申请日:2019-02-27
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Yufang DU , Yangyang JIANG
CPC classification number: G06F9/485 , G06F3/0604 , G06F3/0644 , G06F3/0664 , G06F3/0673 , G06F11/30 , G06F2209/481 , G06F2209/483
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.