Print and [f]ollow logs of a specific container

crictl

  • Command-line for CRI-compatible container runtimes.
    More information: <https://github.com/kubernetes-sigs/cri-tools/blob/master/docs/crictl.md>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

crictl logs -f {{container_id}}

click the source code to copy install crictl on any operating system with command-not-found.com