title: Kubernetes not creating docker container
body: <p>I am really having trouble debugging this and can use some help. I am successfully staring a kubernetes service and deployment using a working docker image. </p>
  
  <p>My service file:</p>
  
  <pre><code>apiVersion: v1
  kind: Service
  metadata:
    name: auth-svc
    labels:
      app: auth_v1
  spec:
    type: NodePort
    ports:
    - port: 3000
      nodePort: 30000
      protocol: TCP
    selector:
      app: auth_v1
  </code></pre>
  
  <p>Deploy File: </p>
  
  <pre><code>apiVersion: apps/v1
  kind: Deployment
  metadata:
    name: auth-deploy
    labels:
      app: auth_v1
  spec:
    revisionHistoryLimit: 5
    minReadySeconds: 10
    strategy:
      type: RollingUpdate
      rollingUpdate:
        maxUnavailable: 1
        maxSurge: 1
    replicas: 3
    selector:
      matchLabels:
        app: auth_v1
    template:
      metadata:
        labels:
          app: auth_v1
      spec:
        containers:
        - name: auth-pod
          image: index.docker.io/XXX/auth
          command: [ "yarn", "start-staging" ]
          imagePullPolicy: Always
          ports:
          - containerPort: 3000
         imagePullSecrets:
         - name: myregistrykey
  </code></pre>
  
  <p><code>kubectl get pods</code> shows that the pods are up and running. I have tested jumping into the pod/conatiner with shell and tried running my application and it works. When I run <code>kubectl describe auth-deploy</code> I am seeing a container listed as auth-pod. However, I am not seeing any containers when I run <code>docker ps</code> or <code>docker ps -a</code>. Also, the logs for my pods show nothing. Is there something I am doing wrong?</p>
  
  <p>For reference, here is my Dockerfile: </p>
  
  <pre><code>FROM node:8.11.2-alpine AS build
  
  LABEL maintainer="info@XXX.com"
  
  # Copy Root Dir &amp; Set Working Dir
  COPY . /src
  WORKDIR /src
  
  # Build &amp; Start Our App
  RUN apk update
  RUN apk add --update alpine-sdk
  RUN apk add --update python
  RUN yarn install
  RUN yarn build-staging
  
  # Build Production Image Using Node Container
  FROM node:8.11.2-alpine AS production
  
  # Copy Build to Image
  COPY --from=build /src/.next /src/.next/
  COPY --from=build /src/production-server /src/production-server/
  COPY --from=build /src/static /src/static/
  COPY --from=build /src/package.json /src
  WORKDIR /src
  
  # Install Essential Pacakges &amp; Start App
  RUN apk update
  RUN apk add --update alpine-sdk
  RUN apk add --update python
  RUN yarn install
  
  # Expose Ports Needed
  EXPOSE 3000
  
  VOLUME [ "/src/log" ]
  
  # Start App
  CMD [ "yarn", "start-staging" ]
  </code></pre>