docker logs --follow <container_name>
Meaning: Streams the logs in real-time. Usage: Continuously displays new log entries as they are written. Example: docker logs --follow my-container shows real-time logs from my-container.
docker logs --follow my-container
my-container