docker restart命令-重启一个容器或多个容器

restart 重启一个容器或多个容器

Usage: docker restart [OPTIONS] CONTAINER [CONTAINER...]Restart a running container


-t,--time=10Number of seconds to try to stop for before killing the container.Once killed it will then be restarted.Defaultis10 seconds.