content/manuals/desktop/features/desktop-cli.md
{{< summary-bar feature_name="Docker Desktop CLI" >}}
The Docker Desktop CLI lets you perform key operations such as starting, stopping, restarting, and updating Docker Desktop directly from the command line.
The Docker Desktop CLI provides:
docker desktop COMMAND [OPTIONS]
| Command | Description |
|---|---|
start | Starts Docker Desktop |
stop | Stops Docker Desktop |
restart | Restarts Docker Desktop |
status | Displays whether Docker Desktop is running or stopped. |
engine ls | Lists available engines (Windows only) |
engine use | Switch between Linux and Windows containers (Windows only) |
update | Manage Docker Desktop updates. Available for Mac only with Docker Desktop version 4.38, or all OSs with Docker Desktop version 4.39 and later. |
logs | Print log entries |
disable | Disable a feature |
enable | Enable a feature |
version | Show the Docker Desktop CLI plugin version information |
kubernetes | List Kubernetes images used by Docker Desktop or restart the cluster. Available with Docker Desktop version 4.44 and later. |
diagnose. | Diagnose Docker Desktop and upload the diagnostics. Available with Docker Desktop 4.60 and later. |
For more details on each command, see the Docker Desktop CLI reference.