差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

兩邊的前次修訂版 前次修改
下次修改
前次修改
tech:docker:howto:autostart [2014/11/12 13:54] jonathantech:docker:howto:autostart [2021/01/16 18:01] (目前版本) jonathan
行 1: 行 1:
 +====== Docker Container Auto Start ======
 +  * Docker 1.2 開始支援
 +  * 建立 Container 時增加 --restart=always 參數, Example:<code sh>
 +docker run -i -t -d -p 8443:443 --restart=always turnkeylinux/phplist-13.0</code>
 +
 +===== 參考網址 =====
 +  * https://docs.docker.com/articles/host_integration/
 +
 +{{tag>docker autostart k8s}}