Streams live logs from services.
Section: Logs, Exec, and Shell Access
Follow logs
bash
bash
docker compose logs -fExplanation
Helpful during startup and debugging.
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 Logs, Exec, and Shell Access
Open shell in running service
Executes a shell inside an already-running service container.
Open bash in running service
Runs Bash inside the running service container.
Run one-off command
Starts a fresh container for a one-off task and removes it after exit.
Show running processes
Displays processes running inside service containers.