All-Things-Docker-and-Kubernetes

Logs

To see the logs, you can simply use the logs command:

$ docker ps
$ docker logs <container-id>

Another way to see logs related to Docker:

$ journalctl -u docker.service 

You may also view the logs in the directory:

# Linux
/var/log
# Windows
~AppData\Local\Docker


Back to first page