Docker Community Forums

Share and learn in the Docker community.

Docker: cannot download image with operating system "linux" when requesting "windows"


(Sahilsoi) #1

I am new to docker
docker: cannot download image with operating system “linux” when requesting “windows”.
What to do?
completely new to all this
docker run -d -p 80:80 jhpyle/docassemble


(James06) #2

The image you are trying to run is meant for Linux so you need to be on a Linux environment to run that. You can try to run that under Linux Containers for Windows (LCOW) but, honestly, I have not had a chance to try LCOW so I don’t know how well that would work for you.

By the way, sometimes images are made available for both Windows and Linux so it is always good to check. For example, if you were to check Docker Hub for Mongo, clicking on “Tags” will show you that there are Linux and Windows options.