← Learn
Safe
docker logs --tail 50 api

cross-platform · bash · Beginner

Prints the last fifty lines a container wrote to its output streams. Container logs are the normal way to debug a running service, and reading them neither restarts nor alters the container.

Think you can spot these under time pressure?

Start Training

More Docker