docker 支援如下restart策略:no – 容器退出時不要自動重啟。這個是預設值。 ... docker run --restart=on-failure:10 redis. 這個執行了一個restart ...
確定! 回上一頁