docker update mysql --restart=always
Copy the code

The same goes for other things like Sentinel

docker update sentinel --restart=always
Copy the code