docker logs

Print container logs. More information: https://docs.docker.com/reference/cli/docker/container/logs/.

docker logs {{container_name}}

docker logs -f {{container_name}}

docker logs {{container_name}} --tail {{5}}

docker logs -t {{container_name}}

docker logs {{container_name}} --until {{time}}