title: Kubernetes - Can I start a pod with a container without any process?
body: <p>We have a docker image. And am trying to deploy it using kubernetes. My doubt is can I deploy a pod with a single container but not run any process in the container while the container comes up? But run it after it starts. That is, after the container starts, go into the bash of the container, and run the process(lets say a java process)? Is that possible?</p>
  
  <p>Right now, when I am trying to deploy a pod with no process running, I get this error : </p>
  
  <blockquote>
    <p>Back-off restarting failed docker container
    Error syncing pod, skipping: failed to "StartContainer" for "containerName" with CrashLoopBackOff:</p>
  </blockquote>
  
  <p>But when I start the container with a java process, it works. Am not sure if its because of no process in container? Please guide.</p>