OpenShift - Resolve "ContainerCreating"

by
Jeremy Canfield |
Updated: December 10 2020
| 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