From aad689e4bc5c6e6d4d9b0e7f08d6bbbf415514e8 Mon Sep 17 00:00:00 2001 From: Huzaifa-Asif Date: Sat, 3 Oct 2026 15:30:20 +0800 Subject: [PATCH] docs: add commands to restart Docker after logging changes --- content/manuals/engine/logging/configure.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/content/manuals/engine/logging/configure.md b/content/manuals/engine/logging/configure.md index 6fe295a2db75..04499ccfa6f9 100644 --- a/content/manuals/engine/logging/configure.md +++ b/content/manuals/engine/logging/configure.md @@ -74,7 +74,19 @@ example sets four configurable options on the `json-file` logging driver: } ``` -Restart Docker for the changes to take effect for newly created containers. +Restart Docker Engine on a Linux system that uses `systemd`: + +```console +$ sudo systemctl restart docker +``` + +If you use Docker Desktop, restart it with the Docker Desktop CLI: + +```console +$ docker desktop restart +``` + +The changes take effect for newly created containers after the restart. Existing containers don't use the new logging configuration automatically. > [!NOTE]