• Meaning: Sets the timeout for stopping the container before restarting. Usage: Controls how long Docker waits before forcefully killing the container. Example: docker restart --time 10 my-container waits 10 seconds before restarting my-container.

    docker restart --time <seconds> <container_name>