<p>Let's say I have a 3 node cluster (master01, node01, node02)</p>

<p>How can I find the running container path on node?
I can see container ID by "oc describe pod"</p>

<pre><code>Container ID:   docker://9982c309a3fd8c336c98201eff53a830a1c56a4cf94c2861c52656855cba3558
</code></pre>

<p>eg: on node 01, I can see a lot of directories under "/var/lib/openshift/openshift.local.volumes/pods/"; but not sure how this map to pod names or container names.
Seems inactive container maps/mounts but how to do a sage clean up ?</p>

<p>Any help really appreciated. Thank you.</p>

<p>You can use this to list the container image by pod name:</p>

<p><code>kubectl get pods POD_NAME -o=jsonpath='{..image}'</code></p>

<p>Source: <a href="https://kubernetes.io/docs/tasks/access-application-cluster/list-all-running-container-images/" rel="nofollow noreferrer">Docs</a></p>
