docker 支持如下restart策略: no – 容器退出时不要自动重启。这个是默认值。 ... docker run --restart=on-failure:10 redis. 这个运行了一个restart ...
確定! 回上一頁