#Docker Logfile Location/var/lib/docker/containers/[container-id]/[container-id]-json.log.#Docker Log Config Location./snap/docker/2907/config/daemon.json/etc/docker/daemon.json#List Docker Logsdockerlogs<container_id>#Docker log timestampsdockerlogs<container_id>--timestampsdockerlogs<container_id>--since (or --until) YYYY-MM-DD#The --tail flag will show the last N lines of logs:dockerlogs<container_id>--tailNdockerlogs<container_id>--follow#Find Pattern in Logsdockerlogs<container_id>|greppattern#Find Errors Onlydockerlogs<container_id>|grep-ierror#Docker Compse show logs toodocker-composelogs