Logging
Updated Mar 11, 2022 ·
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
For Windows:
~AppData\Local\Docker