Files
docker-docs/content/manuals/desktop/features/desktop-cli.md
T
Sarah Sanders 9f56d945a7 chore: summary bar cleanup (#21887)
## Description
- Updated "Contribute" guide to reference summary bars, added
instructions for using them
- Removed `introduced` partial, this is now replaced by the summary bar
`requires` value
- Updated all files using `introduced` partial to use summary bar,
updated YAML file w/ feature name and info

## Related issues or tickets
[ENGDOCS-2392](https://docker.atlassian.net/browse/ENGDOCS-2392)

## Reviews
- [ ] Technical review
- [ ] Editorial review

[ENGDOCS-2392]:
https://docker.atlassian.net/browse/ENGDOCS-2392?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
2025-01-30 07:54:26 -08:00

1.6 KiB

title, linkTitle, weight, description, keywords, params
title linkTitle weight description keywords params
Using the Docker Desktop CLI Docker Desktop CLI 120 How to use the Docker Desktop CLI cli, docker desktop, macos, windows, linux
sidebar
badge
color text
green New

{{< summary-bar feature_name="Docker Desktop CLI" >}}

The Docker Desktop CLI lets you perform key operations such as starting, stopping, restarting, and checking the status of Docker Desktop directly from the command line.

The Docker Desktop CLI provides:

  • Enhanced automation and CI/CD integration: Perform Docker Desktop operations directly in CI/CD pipelines for better workflow automation.
  • An improved developer experience: Restart, quit, or reset Docker Desktop from the command line, reducing dependency on the Docker Desktop Dashboard and improving flexibility and efficiency.

Usage

docker desktop COMMAND [OPTIONS]

Commands

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)

For more details on each command, see the Docker Desktop CLI reference.