The Amazon ECS CLI enables users to run their applications on ECS/Fargate using the Docker Compose file format, quickly provision resources, push/pull images in ECR, and monitor running applications on ECS/Fargate.
this run perfectly in my EC2 instance for ECS, but every time that I try run the task I get this error
Status reason CannotStartContainerError: Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "python": executable file not found in $PATH: unknown
also I tried to skip the CMD command in the Dockerfile and add this in the ECS task definition
nothing work...
do you know what could be the issue?
right now I'm building the ECR image through a gitlab runner, I don't think that this can be the problem because I can run the image perfectly in the server
Hi guys, I've a weird error, I'm trying to run a python script in ECS, the dockerfile is pretty basic:
I can upload to ECR perfectly, even I can use inside EC2:
this run perfectly in my EC2 instance for ECS, but every time that I try run the task I get this error
my task definition is this
I've tried several dockerfiles, using
CMD python ./get_historical_data.py
or using python3 command instead of python
also I tried to skip the CMD command in the Dockerfile and add this in the ECS task definition
nothing work...
do you know what could be the issue?
right now I'm building the ECR image through a gitlab runner, I don't think that this can be the problem because I can run the image perfectly in the server
hope you can help me, thank you so much