Bootstrap FreeKB - OpenShift - Resolve "ContainerCreating"
OpenShift - Resolve "ContainerCreating"

Updated:   |  OpenShift articles

The oc get pods command can be used to view the status of a pod. In this example, the status of mypod002 is ContainerCreating for 2 minutes.

oc get pods
. . .
NAME        READY   STATUS            RESTARTS  AGE
mypod001    1/1     Running           0         8d
mypod002    1/1     ContainerCreating 0         2m
mypod003    1/1     Running           0         8d

 

The oc get events and oc logs commands can be used. You may want to use the -p or --previous flag with the oc logs command to see the previous logs.

oc logs --previous pod/mypod002

 

Following are things you can try to resolve a pod stuck in ContainerCreating.

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter f8db6e in the box below so that we can be sure you are a human.