mirror of https://github.com/docker/docs.git
build: refresh to build ui docs
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
parent
2a5041d9db
commit
6aa508ab4a
Binary file not shown.
|
After Width: | Height: | Size: 7.2 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 42 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 146 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 129 KiB |
|
|
@ -4,9 +4,11 @@ description: Understand how to use the Builds view in Docker Desktop
|
||||||
keywords: Docker Dashboard, manage, gui, dashboard, builders, builds
|
keywords: Docker Dashboard, manage, gui, dashboard, builders, builds
|
||||||
---
|
---
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
The **Builds** view is a simple interface that lets you inspect your build
|
The **Builds** view is a simple interface that lets you inspect your build
|
||||||
history and manage builders using Docker Desktop. By default, it
|
history and manage builders using Docker Desktop. By default, it
|
||||||
displays a list of all your ongoing and completed builds.
|
displays a list of all your ongoing and completed builds.
|
||||||
|
|
||||||
> **Beta feature**
|
> **Beta feature**
|
||||||
>
|
>
|
||||||
|
|
@ -14,23 +16,6 @@ displays a list of all your ongoing and completed builds.
|
||||||
> This feature may change or be removed from future releases.
|
> This feature may change or be removed from future releases.
|
||||||
{ .experimental }
|
{ .experimental }
|
||||||
|
|
||||||
|
|
||||||
The **Builds** view displays metadata about the build, such as:
|
|
||||||
|
|
||||||
- Build name
|
|
||||||
- Target platforms
|
|
||||||
- Builder name
|
|
||||||
- Build duration
|
|
||||||
- Progress bar
|
|
||||||
- Cache usage
|
|
||||||
- Completion date
|
|
||||||
|
|
||||||
The **Active builds** section displays builds that are currently running on
|
|
||||||
builders that you're using.
|
|
||||||
|
|
||||||
The **Completed builds** section lists build records for past builds for your
|
|
||||||
active builders. The list doesn't include builds for inactive builders.
|
|
||||||
|
|
||||||
## Turn on the Builds view
|
## Turn on the Builds view
|
||||||
|
|
||||||
1. Navigate to **Settings**.
|
1. Navigate to **Settings**.
|
||||||
|
|
@ -41,33 +26,126 @@ active builders. The list doesn't include builds for inactive builders.
|
||||||
After the restart, the **Builds** view and the **Builders** settings menu
|
After the restart, the **Builds** view and the **Builders** settings menu
|
||||||
appear.
|
appear.
|
||||||
|
|
||||||
|
## Show build list
|
||||||
|
|
||||||
|
Select the **Builds** view in the Docker Dashboard to open the build list.
|
||||||
|
|
||||||
|
The build list shows running and completed builds for your active builders. The
|
||||||
|
top-right corner shows the name of your currently selected builder, and the
|
||||||
|
**Builder settings** button lets you [manage builders](#manage-builders) in the
|
||||||
|
Docker Desktop settings.
|
||||||
|
|
||||||
|
Running builds are displayed in the top section of this view, with information
|
||||||
|
about the build target and progress.
|
||||||
|
|
||||||
|
The lower section of the view shows your recent builds. You can select any of
|
||||||
|
the builds from the active builds or completed builds section to view detailed
|
||||||
|
information, such as logs, a performance breakdown, cache utilization, and
|
||||||
|
more.
|
||||||
|
|
||||||
|
The build list doesn't include builds for inactive builders. That is, builders
|
||||||
|
that you've removed from your system, or builders that have been stopped.
|
||||||
|
|
||||||
## Inspect a build
|
## Inspect a build
|
||||||
|
|
||||||
To inspect a build, select the build that you want to view in the list.
|
To inspect a build, select the build that you want to view in the list.
|
||||||
|
The inspection view contains a number of tabs:
|
||||||
|
|
||||||
The **Info** tab displays details about the build job. The details include
|
### Info tab
|
||||||
information such as target stage for multi-stage builds, target platforms, and
|
|
||||||
version control information, if available.
|
The **Info** tab displays details about the build.
|
||||||
|
|
||||||
|
If you're inspecting a multi-platform build, the drop-down menu in the
|
||||||
|
top-right of this tab lets you filter the information down to a specific
|
||||||
|
platform:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
The **Source details** section shows the filepath to the
|
||||||
|
[frontend](../../build/dockerfile/frontend.md) that was used and, if available,
|
||||||
|
information about the source code repository.
|
||||||
|
|
||||||
|
The **Build timing** section contains charts showing a breakdown of the build
|
||||||
|
execution from various angles.
|
||||||
|
|
||||||
|
- **Real time** refers to the wall-clock time that it took to complete the build.
|
||||||
|
- **Accumulated time** shows the total CPU time for all steps.
|
||||||
|
- **Cache usage** shows the extent to which build operations were cached.
|
||||||
|
- **Parallel execution** shows how much of the build execution time was spent running steps in parallel.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
The chart colors and legend keys describe the different build operations. Build
|
||||||
|
operations are defined as follows:
|
||||||
|
|
||||||
|
| Build operation | Description |
|
||||||
|
| :------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
||||||
|
| Local file transfers | Time spend transferring local files from the client to the builder. |
|
||||||
|
| File operations | Any operations that involve creating and copying files in the build. For example, the `COPY`, `WORKDIR`, `ADD` instructions in a Dockerfile frontend all incur file operations. |
|
||||||
|
| Image pulls | Time spent pulling images. |
|
||||||
|
| Executions | Container executions, for example commands defined as `RUN` instructions in a Dockerfile frontend. |
|
||||||
|
| HTTP | Remote artifact downloads using `ADD`. |
|
||||||
|
| Git | Same as **HTTP** but for Git URLs. |
|
||||||
|
| Result exports | Time spent exporting the build results. |
|
||||||
|
| SBOM | Time spent generating the [SBOM attestation](../../build/attestations/sbom.md). |
|
||||||
|
| Idle | Idle time for build workers, which can happen if you have configured a [max parallelism limit](../../build/buildkit/configure.md#max-parallelism). |
|
||||||
|
|
||||||
|
The **Dependencies** section shows images and remote resources used to during
|
||||||
|
the build. Resources listed here include:
|
||||||
|
|
||||||
|
- Container images used during the build
|
||||||
|
- Git repositories included using the `ADD` Dockerfile instruction
|
||||||
|
- Remote HTTPS resources included using the `ADD` Dockerfile instruction
|
||||||
|
|
||||||
|
The **Configuration** section shows parameters passed to the build:
|
||||||
|
|
||||||
|
- Build arguments
|
||||||
|
- Secrets
|
||||||
|
- SSH sockets
|
||||||
|
- Labels
|
||||||
|
- Additional contexts
|
||||||
|
|
||||||
|
The **Build results** section shows a summary of the generated build artifacts,
|
||||||
|
including the image manifest media type and digest, and information about build
|
||||||
|
attestations such as SBOM and provenance data.
|
||||||
|
|
||||||
|
### Source tab
|
||||||
|
|
||||||
The **Source** tab shows the [frontend](../../build/dockerfile/frontend.md)
|
The **Source** tab shows the [frontend](../../build/dockerfile/frontend.md)
|
||||||
used to create the build.
|
used to create the build.
|
||||||
|
|
||||||
The **Error** tab appears if the build finished with an error. It displays the
|
### Error tab
|
||||||
[frontend](../../build/dockerfile/frontend.md) used to create the build, and
|
|
||||||
the build error displays inline in the frontend source.
|
The **Error** tab appears if the build finished with an error.
|
||||||
|
|
||||||
|
If the error was caused by an issue with the frontend, this tab displays the
|
||||||
|
frontend source with the error message inline where the build failed.
|
||||||
|
|
||||||
|
### Logs tab
|
||||||
|
|
||||||
The **Logs** tab displays the build logs. If the build is currently running,
|
The **Logs** tab displays the build logs. If the build is currently running,
|
||||||
the logs are updated in real-time.
|
the logs are updated in real-time.
|
||||||
|
|
||||||
The **Stats** tab displays statistics data about completed builds. Analyze the
|
### History tab
|
||||||
build stats to get a better understanding of how your build gets executed, and
|
|
||||||
find ways to optimize it.
|
The **History** tab displays statistics data about completed builds.
|
||||||
|
|
||||||
|
The time series chart in the **Related history** section shows the duration,
|
||||||
|
build steps, and cache usage for related builds. This chart is useful for
|
||||||
|
identifying trends and changes in your build operations over time.
|
||||||
|
|
||||||
|
You can navigate to and inspect a related build by selecting it in the chart,
|
||||||
|
or in the **Past builds** list below the history tab.
|
||||||
|
|
||||||
## Manage builders
|
## Manage builders
|
||||||
|
|
||||||
To inspect your builders, and change your default builder, select
|
To inspect your builders, and change your default builder, select **Builder
|
||||||
**Builder settings** to open the settings menu. For more information, see:
|
settings** to open the settings menu.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
For more information about managing builders, see:
|
||||||
|
|
||||||
- [Change settings, Windows](../settings/windows.md#builders)
|
- [Change settings, Windows](../settings/windows.md#builders)
|
||||||
- [Change settings, Mac](../settings/mac.md#builders)
|
- [Change settings, Mac](../settings/mac.md#builders)
|
||||||
- [Change settings, Linux](../settings/linux.md#builders)
|
- [Change settings, Linux](../settings/linux.md#builders)
|
||||||
|
|
|
||||||
|
|
@ -7,13 +7,14 @@ If you have turned on the
|
||||||
To inspect builders, find the builder that you want to inspect and select the
|
To inspect builders, find the builder that you want to inspect and select the
|
||||||
expand icon. You can only inspect active builders.
|
expand icon. You can only inspect active builders.
|
||||||
|
|
||||||
The detailed builder view shows:
|
Inspecting an active builder shows:
|
||||||
|
|
||||||
- Builder status
|
- BuildKit version
|
||||||
- Information about the BuildKit runtime
|
- Status
|
||||||
- Capabilities and driver type
|
- Driver type
|
||||||
- Supported platforms
|
- Supported capabilities and platforms
|
||||||
- Disk usage
|
- Disk usage
|
||||||
|
- Endpoint address
|
||||||
|
|
||||||
### Select a different builder
|
### Select a different builder
|
||||||
|
|
||||||
|
|
@ -59,4 +60,4 @@ You can start and stop the BuildKit container using the drop-down menu.
|
||||||
|
|
||||||
Running a build automatically starts the container if it's stopped.
|
Running a build automatically starts the container if it's stopped.
|
||||||
|
|
||||||
You can only start and stop builders using the `docker-container` driver.
|
You can only start and stop builders using the `docker-container` driver.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue