Docker engine cannot download linux images on windows

Hello All,

I’ve installed the Docker engine following the steps describes in the Docker’s documentation (link here), the service starts ok in my computer, as you can see in the following image:

image

After executing docker info I’ve received:

Client:
 Context:    default
 Debug Mode: false
 Plugins:
  compose: Docker Compose (Docker Inc.)
    Version:  v2.14.0
    Path:     C:\Users\gustavo.ferrero\.docker\cli-plugins\docker-compose.exe

Server:
 Containers: 2
  Running: 0
  Paused: 0
  Stopped: 2
 Images: 1
 Server Version: 23.0.1
 Storage Driver: windowsfilter
  Windows: 
 Logging Driver: json-file
 Plugins:
  Volume: local
  Network: ics internal l2bridge l2tunnel nat null overlay private transparent
  Log: awslogs etwlogs fluentd gcplogs gelf json-file local logentries splunk syslog
 Swarm: inactive
 Default Isolation: hyperv
 Kernel Version: 10.0 19045 (19041.1.amd64fre.vb_release.191206-1406)
 Operating System: Microsoft Windows Version 22H2 (OS Build 19045.2604)
 OSType: windows
 Architecture: x86_64
 CPUs: 8
 Total Memory: 31.78GiB
 Name: GustavoMachine
 ID: be0578e6-ba7f-441e-acb2-2a3a527b9f56
 Docker Root Dir: C:\docker
 Debug Mode: true
  File Descriptors: -1
  Goroutines: 19
  System Time: 2023-03-22T09:55:41.9404669-03:00
  EventsListeners: 0
 Registry: https://index.docker.io/v1/
 Experimental: true
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false
 Product License: Community Engine

I’m trying to pull a Redis image, however I’ve received the following error:

PS C:\Users\gustavo.ferrero\Temp> docker pull redis
Using default tag: latest
latest: Pulling from library/redis
no matching manifest for windows/amd64 10.0.19045 in the manifest list entries
PS C:\Users\gustavo.ferrero\Temp>

This is my daemon.json configuration file:

{
    "experimental": true,
    "pidfile": "c:\\docker\\docker.pid",
    "data-root": "c:\\docker",
    "debug": true,
    "hosts": ["tcp://127.0.0.1:2376"],
    "tls": false,
    "bridge": "none",
    "raw-logs": false
}

I don’t have any other docker application, neither Docker desktop or another installed in my computer, just Docker engine.

Is it possible to download linux images in my windows with that configuration?

Thank you very much in advance
Best!!
Gustavo

Your Docker Desktop is configured to run Windows Containers. You need to switch to Linux Containers in the context menu of the taskbar in order to pull Linux images and run Linux containers.

Thank you for your response:

Yes, I know. The problem is that I don’t have Docker Desktop and I can’t find the way to switch to Linux. Do you know how to do it?

Best
Gustavo

The page that you linked to has the answer. I quote:

Binary packages on Windows include both dockerd.exe and docker.exe . On Windows, these binaries only provide the ability to run native Windows containers (not Linux containers).

If you want to run Linux containers, you will need Docker Desktop.

Apologies, I should have read more careful.

It is like @rajchaudhuri wrote.