运行 podman pod stop --help 命令:
C:\Users\Administrator> podman pod stop --help
停止一个或多个 Pod
描述:
可以使用 Pod 名称或 ID。
此命令将停止每个指定 Pod 中所有正在运行的容器。
用法:
podman pod stop [选项] POD [POD...]
示例:
podman pod stop mywebserverpod
podman pod stop --time 0 490eb 3557fb
选项:
-a, --all 停止所有正在运行的 Pod
--pod-id-file stringArray 将 Pod ID 写入文件
-t, --time int 在终止容器前等待 Pod 停止的秒数(默认 10)