I've installed Docker on Windows Server 2019 Datacenter 64 bit as on the first screenshort. During the process I've got an error, but docker -v shows installed version.

Then I tried to run my docker-compose file and got an error (look at the second screenshort).

Does anyone have any idea what is wrong?

Important notice: the project successfuly runs on Windows 10.

enter image description here

enter image description here

1

There are 1 answers

2
matic1123 On BEST ANSWER

the error is stating that there is no such image built for windows architecture.

If you go on DockerHub for this exact image, you can see under OS/ARCH there are only linux/amd , linux/* images built, that means you cant use this as your base image on your Windows architecture.

So you really have two options.

  • you find an image that is built for windows/amd64 like this one
  • you simply create your own windows/amd64 image and use that for your base image