You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
16
+
The Docker Desktop CLI lets you perform key operations such as starting, stopping, restarting, and updating Docker Desktop directly from the command line.
|`status`| Displays whether Docker Desktop is running or stopped. |
37
37
|`engine ls`| Lists available engines (Windows only) |
38
38
|`engine use`| Switch between Linux and Windows containers (Windows only) |
39
-
|`update`| Manage Docker Desktop updates. Available for Mac only and with Docker Desktop version 4.38 and later. |
39
+
|`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. |
40
+
|`logs`| Print log entries |
40
41
41
42
42
43
For more details on each command, see the [Docker Desktop CLI reference](/reference/cli/docker/desktop/_index.md).
Copy file name to clipboardExpand all lines: content/manuals/desktop/release-notes.md
+51-1Lines changed: 51 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,56 @@ For more frequently asked questions, see the [FAQs](/manuals/desktop/troubleshoo
29
29
>
30
30
> If you're experiencing malware detection issues on Mac, follow the steps documented in [docker/for-mac#7527](https://github.com/docker/for-mac/issues/7527).
- The [Docker Desktop CLI](/manuals/desktop/features/desktop-cli.md) is now generally available. You can now also print logs with the new `docker desktop logs` command.
41
+
- Docker Desktop now supports the `--platform` flag on [`docker load`](/reference/cli/docker/image/load.md) and [`docker save`](/reference/cli/docker/image/save.md). This helps you import and export a subset of multi-platform images.
- Ask Gordon now offers deeper context on Docker images, containers, and volumes, delivers faster support, and enables more user actions via Docker Desktop and the Docker CLI.
56
+
- Support multi-platform images via enabling users to pick a specific platform in `docker history`
57
+
- Fixed an issue that caused clients other than the CLI and Docker Desktop to see a delay of 3 seconds whenever a container with port-mappings exists. See [docker/for-mac#7575](https://github.com/docker/for-mac/issues/7575)
58
+
- Fixed a bug in the ECI Docker socket permissions which caused it to sometimes block Docker socket mounts on containers with allowed images, or images derived from allowed images.
59
+
- Fixed a bug that prevented Docker Desktop from entering Resource Saver mode again immediately after an engine restart.
60
+
61
+
#### For Mac
62
+
63
+
- Downgraded Linux kernel to `v6.10.14` to fix a bug in OpenJDK that causes Java containers to terminate due to cgroups controller misidentification. See [docker/for-mac#7573](https://github.com/docker/for-mac/issues/7573).
64
+
- Added `/usr/share/misc/usb.ids` in the root mount namespace to fix `usbip`.
65
+
- Fixed an issue where the display of the CPU limit was capped at 8 when using Docker VMM.
66
+
- Fixed an issue where startup would hang and the `com.docker.backend` process consumed 100% of the CPU. See [docker/for-mac#6951](https://github.com/docker/for-mac/issues/6951).
67
+
- Fixed a bug that caused all Java programs running on M4 Macbook Pro to emit a SIGILL error. See [docker/for-mac#7583](https://github.com/docker/for-mac/issues/7583).
68
+
- Blocked startup on macOS 15.4 beta 1 since starting VMs will cause the host to crash, see https://developer.apple.com/documentation/macos-release-notes/macos-15_4-release-notes#Virtual-Machines.
69
+
- Fixed an issue where the myIPAddress PAC file function retrieved the host IP from the wrong interface, causing incorrect proxy selection.
70
+
71
+
#### For Windows
72
+
73
+
- Fixed a bug that prevented `docker compose log` to stream when running apps in WSL.
74
+
- Fixed a bug where Paketo buildpacks failed with Enhanced Container Isolation when Docker Desktop uses WSL.
75
+
- Fixed a bug where the WSL 2 integration would fail if WSL Version 1 distributions are installed.
76
+
- Fixed a bug that caused some CLI plugins update to fail if WSL distributions were enabled.
77
+
78
+
#### For Linux
79
+
80
+
- The **Software Updates** page in settings, now points to the latest available version available.
81
+
32
82
## 4.38.0
33
83
34
84
{{< release-date date="2025-01-30" >}}
@@ -1425,7 +1475,7 @@ This can be resolved by adding the user to the **docker-users** group. Before st
1425
1475
1426
1476
#### For Mac
1427
1477
1428
-
- Fixed a kernel panic on Apple silicon Macs with macOS version below 12.5. Fixes [docker/for-mac#6975](https://github.com/docker/for-mac/issues/6975).
1478
+
- Fixed a kernel panic on Apple Silicon Macs with macOS version earlier than 12.5. Fixes [docker/for-mac#6975](https://github.com/docker/for-mac/issues/6975).
1429
1479
- Fixed a bug where Docker Desktop failed to start if invalid directories were included in `filesharingDirectories`. Fixes [docker/for-mac#6980](https://github.com/docker/for-mac/issues/6980).
1430
1480
- Fixed a bug where installer is creating root-owned directories. Fixes [docker/for-mac#6984](https://github.com/docker/for-mac/issues/6984).
1431
1481
- Fixed a bug where installer is failing on setting up the docker socket when missing `/Library/LaunchDaemons`. Fixes [docker/for-mac#6967](https://github.com/docker/for-mac/issues/6967).
Docker Projects provides a simplified, project-based workflow for running and managing containerized applications. It organizes your code, configurations, and logs across local and cloud environments into a single view, making it easy to collaborate and share across teams.
42
+
43
+
A project organizes your code and Docker artifacts into a single object. These artifacts include logs as well as customizable run commands. These artifacts can persist remotely in the cloud, which lets you access your projects from any device that has Docker Desktop.
44
+
45
+
### Key features and benefits
46
+
47
+
- One-click project setup: Open a local folder or clone a Git repository and run your project instantly.
48
+
- Minimal Docker expertise required: Ideal for both beginners and experienced developers.
49
+
- Custom `run` commands for your projects: Define and store pre-configured `run` commands that are equivalent to running `docker compose up`.
50
+
- Local and remote projects: Work on projects locally or sync artifacts to the cloud for cross-device access and easy collaboration.
Docker Projects requires a Compose file (`compose.yml`) to define your application's services, networks, and configurations. When you open a project, Docker Projects automatically detects the Compose file, allowing you to configure and run services with pre-set commands.
9
+
10
+
By integrating with Docker Compose, Docker Projects ensures a consistent, easy-to-manage workflow for both individual developers and teams. Whether you're starting a new project, configuring it, or collaborating with a team, Docker Projects keeps the process simple.
11
+
12
+
Docker Projects works as follows:
13
+
14
+
1. Create or open a project. You can:
15
+
16
+
- Open a local project: Select a folder on your machine that contains your project code.
17
+
- Clone a Git repository: Provide a repository URL and clone the project into a local directory.
18
+
19
+
Once a project is opened, Docker Desktop detects the Compose file and prepares the project for execution.
20
+
21
+
2. Configure and run your project with pre-configured commands. These commands:
22
+
23
+
- Work like `docker compose up`, launching services based on the Compose file.
24
+
- Can be customized with additional flags, multiple Compose files, and environment variables.
25
+
- Enable pre-run tasks, such as executing scripts before starting the services.
26
+
27
+
All of which means you can fine-tune your configurations without manually running complex CLI commands.
28
+
29
+
3. Collaborate and share with teams. For projects linked to a Git repository, Docker Projects stores artifacts in the cloud, enabling easy collaboration:
30
+
31
+
- Work across devices: Open a project from any machine and instantly access stored configurations.
32
+
- Share configurations: Team members can access pre-defined run commands, reducing setup time.
33
+
34
+
Collaboration is easy — new developers can join a team, open a project, and start working without complex setup steps.
35
+
36
+
4. Manage and iterate. Once a project is up and running, Docker Projects makes it easy to monitor, update, and troubleshoot:
37
+
38
+
- View logs to debug issues and track service activity.
39
+
- Edit configurations and run commands as requirements change.
40
+
41
+
## What's next
42
+
43
+
-[Learn how to open a new project](/manuals/projects/open.md)
1. Open an existing project and ensure that it is stopped.
11
+
12
+
2. From the command drop-down menu, select **New run command**.
13
+
14
+
3. Specify the following information for the run command:
15
+
16
+
> [!TIP]
17
+
>
18
+
> While configuring your run command, you can view the equivalent `docker compose up` command in the **Run command** section on the configuration page. You can also use this command to run your project from the command line. You can refer to the [`docker compose up` reference documentation](/reference/cli/docker/compose/up.md) to learn more about the options you configure.
19
+
20
+
-**Name**: Specify a name to identify the run command.
21
+
-**Compose files**: Select one or more Compose files from your project.
22
+
-**Flags**: Optionally, select one or more flags for your run command.
23
+
24
+
> [!TIP]
25
+
>
26
+
> While the `--env-file` flag isn't currently supported, you can specify environment variables in your Compose file, or use the **Tasks** option to run a script that sets your environment variables.
27
+
28
+
-**Services that will run**: After selecting one or more Compose files, the services defined in the files will appear here. If there is more than one service, you can optionally choose to not run a service by deselecting the checkbox.
29
+
-**Tasks (Advanced options)**: Optionally specify a command to run before running the project. For example, if you want to run a bash script from the project directory named `set-vars.sh`, you can specify bash `set-vars.sh`. Or, on Windows, to run a script with `cmd.exe` named `set-vars.bat`, specify `set-vars.bat`. Note that a task can access environment variables from your terminal profile, but it can't access local shell functions nor aliases.
30
+
31
+
4. Select **Save changes**.
32
+
33
+
You can now select the new run command from the drop-down menu after opening the project.
34
+
35
+
## Edit a run command
36
+
37
+
1. Open an existing project and ensure that it is stopped.
38
+
39
+
2. Select the run command you want to change from the command drop-down menu.
40
+
41
+
3. Select the **Edit** icon next to the **Run** button.
42
+
43
+
4. Specify your changes and then select **Save changes**.
44
+
45
+
## What's next?
46
+
47
+
-[Manage your projects](/manuals/projects/manage.md)
description: Learn how to delete or completely remove a project.
4
+
keywords: Docker, projects, docker deskotp, containerization, open, remote, local
5
+
weight: 50
6
+
---
7
+
8
+
## Run a project or service
9
+
10
+
1. Open a new or existing project.
11
+
12
+
2. Select a run command from the drop-down menu.
13
+
14
+
3. Select the **Run** button for the project or the **Play** button next to the service you'd like to run.
15
+
16
+
## Stop or restart a project or service
17
+
18
+
1. Open an existing project that is running.
19
+
20
+
2. Select the **Stop** or **Restart** button for the project or the appropriate button next to the service.
21
+
22
+
## Remove a project from Docker Desktop
23
+
24
+
If a project is associated with a Git repository, you can remove it from Docker Desktop. When a project is deleted, you can no longer run the project from the **Projects** view, but its run configuration still exists remotely in the cloud.
25
+
26
+
This means that you can later [open the project](/manuals/projects/open.md#open-an-existing-remote-project) and associate it with the remote run configuration without having to specify the run command again.
27
+
None of your local code is deleted when removing a project from Docker Desktop.
28
+
29
+
To remove a project from Docker Desktop:
30
+
31
+
1. Sign in to Docker Desktop, and go to **Projects**.
32
+
33
+
2. Select the **More actions** menu next to the project, and then select **Remove from Docker Desktop**.
34
+
35
+
## Delete a project
36
+
37
+
Deleting a project removes it from Docker Desktop and deletes all configuration locally and remotely from the cloud. When a project is deleted, you can no longer run the project from the **Projects** view. None of your local code is deleted when you delete a project from Docker Desktop.
0 commit comments