Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

CannotPullContainerError: no space left on device AWS ECS

I have a Docker container stored in Elastic Container Registry which has a size of 8393.29(MB) according to ECR. My issue is that whenever I create a task definition, then a service to finally launch the task to pull and run this container, the task remains in the pending status for some minutes and then stops with this message:

CannotPullContainerError: ref pull has been retried 1 time(s): failed to extract layer sha256:8a8b75c9ef4bfdc6c33f2920198630f7a44669323d53bcb197b1c0269d7f0bfc: write /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/244/fs/text_models/src/topic_modeling/linkend_words/pytorch_weights.tar.gz: no space left on device: unknown

I’ve searched around the internet and tried some things like incrementing the Task vCPU and Memory but have not found what exactly could be the issue here. Seems like there’s no space left for that file called pytorch_weights.tar.gz. Thanks for any suggestions.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

"No space left on device" is referring to disk volume space, not CPU or RAM. Try increasing the ephemeral storage space allocated to your Fargate tasks.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading