DockerCLI.exe options

Is there any documentation for the DockerCLI.exe from Docker Desktop? None of the following switches output anything:

  • -h --help -Help

Hi @shocko

DockerCLI.exe is meant to be an internal tool and is not supposed to be used by end users. Hence the tool does not support the common help flags. Please see[1], which further explains this.

[1] Dockercli.exe doesn't recognise -h or --help flags · Issue #11751 · docker/for-win · GitHub

Is there any replacement or alternative way to switch between Windows and Linux engines in Docker Desktop for Windows from the CLI? We used dockercli.exe for some automation processes. docker context use desktop-[windows|linux] doesn’t appear to change the engine, only the docker.exe context.