Docker 给 故障停掉的 container 增加 restart 参数 操作过程见图: 执行的命令比较简单: docker container update --restart=always containername 即可.