docker restart my-container
Meaning: Stops and then starts a container.
Usage: To restart a container to apply new configurations or settings.
Example: docker restart my-container restarts the container named my-container.
my-container
--time (Timeout)
-time