title: no such file or directory Kubernetes
body: <p>In one of my containers I am getting the error</p>
  <pre><code>Warning  Failed     7m52s (x4 over 8m33s)  kubelet            Error: failed to start container &quot;xxx-xxx&quot;: Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: &quot;/src/application/entrypoint.sh&quot;: stat /src/application/entrypoint.sh: no such file or directory: unknown
  </code></pre>
  <p>I can't figure out why this is an issue, as running my docker-compose file outside of kubernetes hasn't presented any issues.</p>
  <p>The yaml section for this looks like:</p>
  <pre><code>spec:
    replicas: 1
    selector:
      matchLabels:
        io.kompose.service: xxx-xxx
    strategy:
      type: Recreate
    template:
      metadata:
        creationTimestamp: null
        labels:
          io.kompose.service: xxx-xxx
      spec:
        containers:
        - env:
          - name: BEARER_TOKEN
            valueFrom:
              configMapKeyRef:
                key: BEARER_TOKEN
                name: xxx-xxx-env-dev
          - name: PGADMIN_DEFAULT_EMAIL
            valueFrom:
              configMapKeyRef:
                key: PGADMIN_DEFAULT_EMAIL
                name: xxx-xxx-env-dev
          - name: PGADMIN_DEFAULT_PASSWORD
            valueFrom:
              configMapKeyRef:
                key: PGADMIN_DEFAULT_PASSWORD
                name: xxx-xxx-env-dev
          - name: PGADMIN_LISTEN_PORT
            valueFrom:
              configMapKeyRef:
                key: PGADMIN_LISTEN_PORT
                name: xxx-xxx-env-dev
          - name: POSTGRES_DB
            valueFrom:
              configMapKeyRef:
                key: POSTGRES_DB
                name: xxx-xxx-env-dev
          - name: POSTGRES_HOST_NAME
            valueFrom:
              configMapKeyRef:
                key: POSTGRES_HOST_NAME
                name: xxx-xxx-env-dev
          - name: POSTGRES_PASSWORD
            valueFrom:
              configMapKeyRef:
                key: POSTGRES_PASSWORD
                name: xxx-xxx-env-dev
          - name: POSTGRES_PORT
            valueFrom:
              configMapKeyRef:
                key: POSTGRES_PORT
                name: xxx-xxx-env-dev
          - name: POSTGRES_USER
            valueFrom:
              configMapKeyRef:
                key: POSTGRES_USER
                name: xxx-xxx-env-dev
          image: x/xx-xxx-xxx:prod
          name: xxx-xxx
          ports:
          - containerPort: 5000
          resources: {}
          volumeMounts:
          - mountPath: /src/application
            name: xxx-xxx-claim0
        restartPolicy: Always
        volumes:
        - name: xxx-xxx-claim0
          persistentVolumeClaim:
            claimName: xxx-xxx-claim0
  </code></pre>
  <p>It seems kubernetes can't locate the entrypoint file, what can I do to make it accessible? Is this persisten volume related? Sorry but I am a beginner at Kubernetes.</p>