Interview Prep/Docker/Rapid-Fire Commands

Follow the last 50 lines of logs with timestamps.

BeginnerProductionRapid-Fire Commands
Answer
docker logs -f --tail 50 -t web

Add --since 10m to bound the window.

All Docker questions Roadmap: Docker & containers

More on Rapid-Fire Commands