Home Menu Search

Saqwel

IT and other things blog

Error: Unable to read Docker image into resource: unable to find or pull image nginx:latest

Share

I have tried to learn terraform from scratch and found pretty simple tutorial for beginners. But got stuck on the second page of the tutorial. I tried to run terraform apply to run nginx docker container, but got the following message:

Error: Unable to read Docker image into resource: unable to find or pull image nginx:latest

I couldn’t find any solution in the internet, but found out that nginx:latest is not compatible with Windows containers. Therefore the solution is swithing from Windows containers to Linux containers.

Leave a Reply