<p>I am trying to push my container up to GCP Kubernetes in my cluster. My pod runs locally but it doesn't want to run on GCP. It comes back with this error <code>Error response from daemon: No command specified: CreateContainerError</code></p>

<p>It worked if I run it locally in docker but once I push it up to the container registry on gcp and apply the deployment yaml using <code>kubectl apply -f</code> in my namespace it never brings it up and just keeps saying 
<code>gce-exporting-fsab83222-85sc4   0/1  CreateContainerError  0   5m6s</code></p>

<p>I can't get any logs out of it either:
<code>Error from server (BadRequest): container "gce" in pod "gce-exporting-fsab83222-85sc4" is waiting to start: CreateContainerError</code></p>

<p>Heres my files below:</p>

<p><strong>Dockerfile:</strong></p>

<pre><code>FROM alpine:3.8

WORKDIR /build

COPY test.py /build
RUN chmod 755 /build/test.py

CMD ["python --version"]
CMD ["python", "test.py"]
</code></pre>

<p><em>Python Script:</em></p>

<pre><code>#!/usr/bin/python3

import time 

def your_function():
    print("Hello, World")

while True:
    your_function()
    time.sleep(10) #make function to sleep for 10 seconds
</code></pre>

<p><strong>yaml file:</strong></p>

<pre><code>apiVersion: apps/v1 
kind: Deployment
metadata:
  name: gce-exporting
  namespace: "monitoring"
spec:
  selector:
    matchLabels:
      app: gce
  template:
    metadata:
      labels:
        app: gce
    spec:
      containers:
      - name: gce
        image: us.gcr.io/lab-manager/lab/gce-exporting:latest
</code></pre>

<p>I have tried using CMD and Entrypoint at the end to make sure the pod is running but no luck.</p>

<p>This is the output of the describe pod</p>

<pre><code>Events:
  Type     Reason     Age               From                                             Message
  ----     ------     ----              ----                                             -------
  Normal   Scheduled  60s               default-scheduler                                Successfully assigned monitoring/gce-exporting-fsab83222-85sc4 to gke-dev-lab-standard-8efad9b6-8m66
  Normal   Pulled     5s (x7 over 59s)  kubelet, gke-dev-lab-standard-8efad9b6-8m66  Container image "us.gcr.io/lab-manager/lab/gce-exporting:latest" already present on machine
  Warning  Failed     5s (x7 over 59s)  kubelet, gke-dev-lab-standard-8efad9b6-8m66  Error: Error response from daemon: No command specified
</code></pre>

soniccool
<p>It was a malformed character in my Dockerfile and caused it to crash.</p>
