Docker sets the command to automatically start the container at startup

Take redis as an example to execute the command: sudo docker update redis --restart=always

Guess you like

Origin blog.csdn.net/qq_33767353/article/details/107597567