docker stop命令-停止一个容器

stop

Usage: docker stop [OPTIONS] CONTAINER [CONTAINER...]Stop a running container by sending SIGTERM andthen SIGKILL after a grace period


-t,--time=10Number of seconds to wait for the container to stop before killing it.Defaultis10 seconds.