Follow container logs from the last 100 lines.
Section: Containers
Follow container logs
bash
bash
docker logs -f --tail=100 webExplanation
Great for watching startup and runtime behavior.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Containers