容器随Docker启动而启动

在容器开启状态下

docker container update --restart=always 容器名
原文地址:https://www.cnblogs.com/juyss/p/13935544.html