容器开机启动

--restart=always

例子:docker run -d -p --restart=always redis

posted @ 2021-12-17 10:23  会飞的猿  阅读(26)  评论(0编辑  收藏  举报