Using Docker for Windows instead of Docker Toolbox

What is the process to install WebODM into a fresh install of Docker for Windows? It seems like all tutorials are set up to use Docker Toolbox which is deprecated unless you’re running a dinosaur of a machine. Is anyone running WebODM in the proper hyper-v virtualization instead of virtualbox?

Hey Gregt, the process is the same, you just don’t need to use the docker quickstart terminal, use the command prompt once docker is installed.

After installing Docker for Windows on Windows 10 (following the Getting Started instructions on GitHub), I was unable to launch WebODM. Everything goes well until I run ./ start, and the following error message appears:

Error: for db client version 1.22 is too old. Minimum supported API version is 1.24, please upgrade your client to a new version

Is this an issue with the *.yml files, or perhaps the version of PostgreSQL?

You might have to upgrade your version of docker-compose.

docker-compose version

pip install docker-compose -U

Thank you. I updated docker-compose successfully. A new error message appeared stating that I needed to install pypiwin32, which I did. But then I got back the ‘for db client version 1.22 is too old…’ error again.

After a bit of Googling, I found this post which suggested the error message could be caused because

the Docker server host is configured for ‘Windows’, however the docker-compose project targets Linux

After going to the Docker for Windows control panel in the system tray, and selecting ‘Switch to Linux Containers…’, I was able to start WebODM :grinning:

Docker for CE for Windows is currently the default download for Windows 10, so if this is indeed a necessary step I might propose adding to the WebODM getting started instructions a step to switch Docker to Linux containers before attempting to start WebODM. Another difference from the current instructions is that you don’t need to find the local IP address, http://localhost:8000/ works (at least for me).

Oh awesome! That would explain why it was failing.

Would you be so kind as to add this information in the README, perhaps where appropriate in the “Getting Started” section?

Done. Hope that helps others.

1 Like