Introduction
Sometimes a container stops working correctly or needs to apply new settings. Restarting a container stops it and starts it again, fixing temporary issues or applying changes without deleting it.
When a web server container becomes unresponsive and you want to refresh it quickly.
When you update environment variables and want the container to use the new values.
When a container crashes and you want to try running it again without recreating it.
When you want to apply new network settings to a running container.
When you want to clear temporary glitches in a container without losing its data.