/var/lib/docker/containers/<container_id>/<container_id>-json.log
docker inspect --format='{{.LogPath}}' <containerId>
Amazon Linux: /var/log/docker.
CentOS/RHEL: /var/log/messages | grep docker.
macOS: ~/Library/Containers/com. docker. docker/Data/log/vm/dockerd. log.
Windows: AppDataRoamingDockerlogvmdockerd. log.