To view the last 100 lines of logs from a Docker container and continue to follow new logs
Pheak Pheasa

Pheak Pheasa @pheak_pheasa

About: Don't talk, just do it.

Joined:
Mar 12, 2024

To view the last 100 lines of logs from a Docker container and continue to follow new logs

Publish Date: May 13 '24
0 0
docker logs -f <container_name_or_id> | tail -n 100
Enter fullscreen mode Exit fullscreen mode

Comments 0 total

    Add comment