How can I set the hosts on docker desktop like `docker -H <url>`?

The Docker Desktop UI can’t connect to a remote Docker daemon and it is not likely that it ever will. You can only connect to remote daemons from the terminal using the Docker client. If you don’t want to pass the argument every time, you can configure an ssh context. Since @meyay has just shown a solution, I will leave a link to his comment

1 Like