Containerd 的日志文件在哪里?

Use*_*007 5 kubernetes containerd

我正在使用 crictl pull 来拉取图像,但它挂在 PullImageRequest 处。我想知道发生了什么,那么containerd的日志文件在哪里,不是容器运行的日志,而是containerd本身的日志

Dai*_*igo 8

containerd作为 Linux 的服务运行,因此您可以使用 来检查其日志journalctl -u containerd


Moh*_*hsh 6

另外,在 Containerd(如 CRI)中,您可以找到容器登录/var/log/pods/路径。