Unable to add new hosts

Hi!

Today when I try to add new hosts by running the docker run-command given by the UI I get:

Error response from daemon: client version 1.22 is too old. Minimum supported API version is 1.24, please upgrade your client to a newer version

It worked fine a few days ago and I have tried from different machines. What can I do to fix this?

This seems to be a problem with later versions of Docker. Version 23 and earlier works fine.