Categories: Articles

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

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.

Konstantin “Saqwel” Kostin

Share
Published by
Konstantin “Saqwel” Kostin

Recent Posts

Azure App Configuration and access to Key Vault references

We decided to use an Azure App Configuration to store configs of backend. App Configuration…

2023-08-24

Azure cli az acr login hangs

I have encountered an issue with az acr login --name <acr_name> command. It hanged and…

2023-08-23

Скрыть поле модели от Swagger (Hide field of model from Swagger)

При внедрении Swagger в проекте .Net Core Web API потребовалось скрыть одно поле из примера,…

2020-04-24

Прогноз цен на акции

Около года назад я решил попробовать заработать на фондовой бирже, покупая и продавая акции. Изучая…

2019-07-20

Installation failed with error code: (0x00000490), “Element not found. “

Во время установки .NET Framework столкнулся с ошибкой Installation failed with error code: (0x00000490), "Element…

2018-12-20

Huawei Watch 2 – замена телефону. Полный обзор

Почти целый год я размышлял и прикидывал, о том, смогу ли я использовать умные часы…

2018-10-06