pods are not running with deployment file using docker

41 Views Asked by At

thanks for trying to help me, I have a problem with me trying to run 3 replicas of a hello-world app container, what could be the resons??????? this is the error: enter image description here

my deployment file is: enter image description here

and my docker file: enter image description here

I tried reinstalling docker, kubectl and multiple syntax versions of the deployment file

1

There are 1 best solutions below

0
On

I think WORKDIR should be followed by COPY

...
WORKDIR /home/sigituser8
COPY requirements.txt .
...

and not the other way around