docker desktop logs

DescriptionPrint log entries for Docker Desktop
Usagedocker desktop logs [OPTIONS]
Requires: Docker Desktop 4.39 and later

Options

OptionDefaultDescription
-b, --bootShow logs from a specified boot. Zero means the current or boot, one the second last boot, and so on
-c, --colorEnable colored output. Priority levels are highlighted.
-m, --color-modeColor mode to use. Can be default or priority
-D, --directorySpecifies a custom directory to search for log entries
-p, --priority%!s(int=-1)Filter output by log priorities. -1 is all, 0 is info or above, 1 filters for warnings or above, 2 filters for errors.
-S, --sinceStart showing entries on or newer than the specified date and time. Uses the systemd.time(7) format.
-u, --unitFilter by one or more categories (e.g. --unit=com.docker.backend.ipc, com.docker.backend.apiproxy)
-U, --untilStart showing entries on or before the specified date and time. Uses the systemd.time(7) format.