# Is it possible to check the logs of container whose status is ContainerStatusUnknown

**URL:** <https://discuss.kubernetes.io/t/is-it-possible-to-check-the-logs-of-container-whose-status-is-containerstatusunknown/24864>\
**Category:** General Discussions\
**Created:** [July 21, 2023, 2:29pm UTC](https://discuss.kubernetes.io/t/is-it-possible-to-check-the-logs-of-container-whose-status-is-containerstatusunknown/24864 "2023-07-21T14:29:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![telecomspec](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/telecomspec/32/12808_2.png) [@telecomspec](https://discuss.kubernetes.io/u/telecomspec)\
**Post date:** [July 21, 2023, 2:29pm UTC](https://discuss.kubernetes.io/t/is-it-possible-to-check-the-logs-of-container-whose-status-is-containerstatusunknown/24864/1 "2023-07-21T14:29:44Z")

</div>

Asking for help? Comment out what you need so we can get more information to help you!

### Cluster information:

Kubernetes version: v1.27.4  
Cloud being used: (put bare-metal if not on a public cloud) - Personal Laptop  
Installation method: Hard Way (without certificate installation)  
Host OS: Ubuntu 20.04.6 LTS  
CNI and version: 10-weave.conflist  
CRI and version: Containerd://1.6.21

I have deployed Jenkins as POD on namespaces devops-tools. After the OS ubuntu get upgrade the previous container has error while another container is running as given below..  
@kmasterl:/$ kubectl get pods -n devops-tools -o wide  
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES  
jenkins-59df9d5f78-nhvwg 0/1 ContainerStatusUnknown 6 (5h55m ago) 3d2h kworkerl   
jenkins-59df9d5f78-thnzn 1/1 Running 0 165m 10.32.0.2 kworkerl   
Now when I am trying to check the logs of container “jenkins-59df9d5f78-nhvwg” I am getting below message. **Is it the normal behavior or is there any way we can check the died container logs ???**  
kubectl logs jenkins-59df9d5f78-nhvwg -n devops-tools  
unable to retrieve container logs for containerd://04310c14cc535abeb21ff9db8cfde4029ee4707f502dfd236c6165e0761eabfftestuser
