Docker: Add a restart policy to a container that was already created

I see that Docker has added something called restarting policies to handle restart of containers in case of, for instance, reboot.

While this is very useful, I see that the restart policy command just work with docker run and not docker start. So my question is:

Is there any way to add restarting policies to a container that was already created in the past?

3 Answers
3

Leave a Comment