title: Kubernetes pods are running but docker ps does not give any output
body: <p>I have been trying to run tomcat container on port 5000 on cluster using kubernetes. But when i am using kubectl create -f tmocat_pod.yaml , it creates pod but docker ps does not give any output. Why is it so?</p>
  
  <p>Ideally, when it is running a pod, it means it is running a container inside that pod and that container is defined in yaml file.
  Why is that docker ps does not show any containers running?
  I am following the below URLs:</p>
  
  <ul>
  <li><a href="http://containertutorials.com/get_started_kubernetes/k8s_example.html" rel="noreferrer">http://containertutorials.com/get_started_kubernetes/k8s_example.html</a></li>
  <li><a href="https://blog.jetstack.io/blog/k8s-getting-started-part2/" rel="noreferrer">https://blog.jetstack.io/blog/k8s-getting-started-part2/</a></li>
  </ul>
  
  <p>How can I get it running and see tomcat running on browser on port 5000.</p>