运行 podman pod kill --help 命令:
C:\Users\Administrator> podman pod kill --help
向 Pod 中的容器发送指定信号或 SIGKILL 信号
描述:
信号会发送到指定 Pod 内每个容器的主进程。
默认信号为 SIGKILL,也可通过 --signal 选项指定其他信号。
用法:
podman pod kill [选项] POD [POD...]
示例:
podman pod kill podID
podman pod kill --signal TERM mywebserver
选项:
-a, --all 终止所有 Pod 中的所有容器
-s, --signal string 发送到 Pod 内容器的信号(默认为 "KILL")