Processing for multiple containers are deployed on the physical machine

    公开(公告)号:US10983825B2

    公开(公告)日:2021-04-20

    申请号:US16287218

    申请日:2019-02-27

    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.

Patent Agency Ranking