执行 podman stop --help 命令:
C:\Users\hxstr> podman stop --help 停止一个或多个容器 描述: 停止一个或多个运行中的容器。可使用容器名称或 ID 进行操作。 可设置强制停止容器的超时时间,默认超时时间为 10 秒。 使用方法: podman stop [选项] 容器 [容器...] 示例: podman stop ctrID podman stop --time 2 mywebserver 6e534f14da9d 选项: -a, --all 停止所有运行中的容器 -f, --filter stringArray 根据指定条件过滤输出结果 -t, --time int 等待容器停止的秒数,超时后强制终止(默认值:10)