Skip to content

Commit 84785f3

Browse files
aevesdockercrazy-maxglourssarahsanders-dockervvoland
authored
publish updates from main (#22276)
Automated pull request for publishing docs updates. --------- Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by: CrazyMax <[email protected]> Signed-off-by: Guillaume Lours <[email protected]> Signed-off-by: Paweł Gronowski <[email protected]> Co-authored-by: crazy-max <[email protected]> Co-authored-by: Guillaume Lours <[email protected]> Co-authored-by: Sarah Sanders <[email protected]> Co-authored-by: Paweł Gronowski <[email protected]> Co-authored-by: aevesdocker <[email protected]>
2 parents 476918a + 030c686 commit 84785f3

File tree

13 files changed

+179
-11
lines changed

13 files changed

+179
-11
lines changed

_vendor/modules.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# github.com/moby/moby v28.0.1+incompatible
22
# github.com/moby/buildkit v0.20.1
3-
# github.com/docker/buildx v0.21.3
3+
# github.com/docker/buildx v0.22.0
44
# github.com/docker/cli v28.0.1+incompatible
55
# github.com/docker/compose/v2 v2.34.0
66
# github.com/docker/scout-cli v1.15.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Profiles help you adjust your Compose application for different environments or use cases by selectively activating services. Services can be assigned to one or more profiles; unassigned services start by default, while assigned ones only start when their profile is active. This setup means specific services, like those for debugging or development, to be included in a single `compose.yml` file and activated only as needed.
1+
Profiles help you adjust your Compose application for different environments or use cases by selectively activating services. Services can be assigned to one or more profiles; unassigned services start/stop by default, while assigned ones only start/stop when their profile is active. This setup means specific services, like those for debugging or development, to be included in a single `compose.yml` file and activated only as needed.

content/manuals/compose/how-tos/profiles.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ $ docker compose --profile dev up phpmyadmin
175175
$ COMPOSE_PROFILES=dev docker compose up phpmyadmin
176176
```
177177

178-
## Stop specific profiles
178+
## Stop application and services with specific profiles
179179

180180
As with starting specific profiles, you can use the `--profile` [command-line option](/reference/cli/docker/compose.md#use--p-to-specify-a-project-name) or
181181
use the [`COMPOSE_PROFILES` environment variable](environment-variables/envvars.md#compose_profiles):
@@ -187,7 +187,7 @@ $ docker compose --profile debug down
187187
$ COMPOSE_PROFILES=debug docker compose down
188188
```
189189

190-
Both commands stop and remove services with the `debug` profile. In the following `compose.yaml` file, this stops the services `db` and `phpmyadmin`.
190+
Both commands stop and remove services with the `debug` profile and services without a profile. In the following `compose.yaml` file, this stops the services `db`, `backend` and `phpmyadmin`.
191191

192192
```yaml
193193
services:
@@ -207,6 +207,15 @@ services:
207207
image: mysql
208208
```
209209

210+
if you only want to stop the `phpmyadmin` service, you can run
211+
```console
212+
$ docker compose down phpmyadmin
213+
```
214+
or
215+
```console
216+
$ docker compose stop phpmyadmin
217+
```
218+
210219
> [!NOTE]
211220
>
212221
> Running `docker compose down` only stops `backend` and `db`.

content/manuals/engine/release-notes/28.md

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,67 @@ For more information about:
2222
- Deprecated and removed features, see [Deprecated Engine Features](../deprecated.md).
2323
- Changes to the Engine API, see [Engine API version history](/reference/api/engine/version-history.md).
2424

25+
## 28.0.2
26+
27+
{{< release-date date="2025-03-19" >}}
28+
29+
For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:
30+
31+
- [docker/cli, 28.0.2 milestone](https://github.com/docker/cli/issues?q=is%3Aclosed+milestone%3A28.0.2)
32+
- [moby/moby, 28.0.2 milestone](https://github.com/moby/moby/issues?q=is%3Aclosed+milestone%3A28.0.2)
33+
34+
### Bug fixes and enhancements
35+
36+
- Fix CLI-specific attributes (`docker.cli.*`) being unintentionally passed to downstream OTel services. [docker/cli#5842](https://github.com/docker/cli/pull/5842)
37+
- Fix an issue where user-specified `OTEL_RESOURCE_ATTRIBUTES` were being overridden by CLI's internal telemetry attributes. The CLI now properly merges user-specified attributes with internal ones, allowing both to coexist. [docker/cli#5842](https://github.com/docker/cli/pull/5842)
38+
- Fix the daemon failing to start on Windows when a container created before v28.0.0 was present. [moby/moby#49626](https://github.com/moby/moby/pull/49626)
39+
- Fix possible error on `docker buildx prune` with `--min-free-space`. [moby/moby#49623](https://github.com/moby/moby/pull/49623)
40+
- Fix spurious `io: read/write on closed pipe` error in the daemon log when closing a container. [moby/moby#49590](https://github.com/moby/moby/pull/49590)
41+
- Fix the Docker daemon failing too early if the containerd socket isn't immediately available. [moby/moby#49603](https://github.com/moby/moby/pull/49603)
42+
- Mask Linux thermal interrupt info in a container's `/proc` and `/sys` by default. Mitigates potential [Thermal Side-Channel Vulnerability Exploit](https://github.com/moby/moby/security/advisories/GHSA-6fw5-f8r9-fgfm). [moby/moby#49560](https://github.com/moby/moby/pull/49560)
43+
- Update `contrib/check-config.sh` to check for more kernel modules related to iptables. [moby/moby#49622](https://github.com/moby/moby/pull/49622)
44+
- containerd image store: Fix integer overflow in User ID handling passed via `--user`. [moby/moby#49652](https://github.com/moby/moby/pull/49652)
45+
- containerd image store: Fix spurious `reference for unknown type: application/vnd.in-toto+json` warning being logged to the daemon's log. [moby/moby#49652](https://github.com/moby/moby/pull/49652)
46+
- containerd image store: Improve performance of `docker ps` when running a large number of containers. [moby/moby#49365](https://github.com/moby/moby/pull/49365)
47+
48+
### Packaging updates
49+
50+
- Update BuildKit to [v0.20.1](https://github.com/moby/buildkit/releases/tag/v0.20.1). [moby/moby#49587](https://github.com/moby/moby/pull/49587)
51+
- Update Buildx to [v0.22.0](https://github.com/docker/buildx/releases/tag/v0.22.0). [docker/docker-ce-packaging#1175](https://github.com/docker/docker-ce-packaging/pull/1175)
52+
- Update Compose to [v2.34.0](https://github.com/docker/compose/releases/tag/v2.34.0). [docker/docker-ce-packaging#1172](https://github.com/docker/docker-ce-packaging/pull/1172)
53+
- Update Go runtime to [1.23.7](https://go.dev/doc/devel/release#go1.23.7). [docker/cli#5890](https://github.com/docker/cli/pull/5890), [docker/docker-ce-packaging#1171](https://github.com/docker/docker-ce-packaging/pull/1171), [moby/moby#49580](https://github.com/moby/moby/pull/49580)
54+
- Update RootlessKit to [v2.3.4](https://github.com/rootless-containers/rootlesskit/releases/tag/v2.3.4). [moby/moby#49614](https://github.com/moby/moby/pull/49614)
55+
- Update containerd (static binaries only) to [v1.7.27](https://www.github.com/containerd/containerd/releases/tag/v1.7.27). [moby/moby#49656](https://github.com/moby/moby/pull/49656)
56+
57+
### Networking
58+
59+
- Add the environment variable `DOCKER_INSECURE_NO_IPTABLES_RAW=1` to allow Docker to run on systems where the Linux kernel can't provide `CONFIG_IP_NF_RAW` support. When enabled, Docker will not create rules in the iptables `raw` table. Warning: This is not recommended for production environments as it reduces security by allowing other hosts on the local network to route to ports published to host addresses, even when they are published to `127.0.0.1.` This option bypasses some of the security hardening introduced in Docker Engine 28.0.0. [moby/moby#49621](https://github.com/moby/moby/pull/49621)
60+
- Allow container startup when an endpoint is attached to a macvlan network driver where the parent interface is down. [moby/moby#49630](https://github.com/moby/moby/pull/49630)
61+
- Do not skip DNAT for packets originating in a `gateway_mode=routed` network. [moby/moby#49577](https://github.com/moby/moby/pull/49577)
62+
- Fix a bug causing `docker ps` to inconsistently report dual-stack port mappings. [moby/moby#49657](https://github.com/moby/moby/pull/49657)
63+
- Fix a bug that could cause `docker-proxy` to stop forwarding UDP datagrams to containers. [moby/moby#49649](https://github.com/moby/moby/pull/49649)
64+
- Fix a bug that was causing `docker-proxy` to close UDP connections to containers eagerly and resulting in the source address to change needlessly. [moby/moby#49649](https://github.com/moby/moby/pull/49649)
65+
66+
### Go SDK
67+
68+
- Move various types and consts from `cli-plugins/manager` to a separate package. [docker/cli#5902](https://github.com/docker/cli/pull/5902)
69+
- Update minimum required Go version to go1.23. [moby/moby#49541](https://github.com/moby/moby/pull/49541)
70+
- `cli/command`: Move `PrettyPrint` utility to `cli/command/formatter`. [docker/cli#5916](https://github.com/docker/cli/pull/5916)
71+
- runconfig/errors: split `ErrConflictHostNetwork` into `ErrConflictConnectToHostNetwork` and `ErrConflictDisconnectFromHostNetwork`. [moby/moby#49605](https://github.com/moby/moby/pull/49605)
72+
73+
### Deprecations
74+
75+
- Go-SDK: Deprecate `cli-plugins/manager.ResourceAttributesEnvvar` constant. It was used internally, but holds the `OTEL_RESOURCE_ATTRIBUTES` name, which is part of the OpenTelemetry specification. Users of this constant should define their own. It will be removed in the next release. [docker/cli#5881](https://github.com/docker/cli/pull/5881)
76+
- Go-SDK: Deprecate `opts.PortOpt`, `opts.ConfigOpt` and `opts.SecretOpt`. These types were moved to the `opts/swarmopts` package. [docker/cli#5907](https://github.com/docker/cli/pull/5907)
77+
- Go-SDK: Remove `service/logs` package. [docker/cli#5910](https://github.com/docker/cli/pull/5910)
78+
- Go-SDK: `cli/command/image`: Deprecate `PushTrustedReference` and move to `cli/trust`. [docker/cli#5894](https://github.com/docker/cli/pull/5894)
79+
- Go-SDK: `cli/command/image`: Deprecate and internalize `TrustedPush`. [docker/cli#5894](https://github.com/docker/cli/pull/5894)
80+
- Go-SDK: `cli/command`: deprecate `Cli.NotaryClient`: use [`trust.GetNotaryRepository`](https://pkg.go.dev/github.com/docker/[email protected]+incompatible/cli/trust#GetNotaryRepository) instead. This method is no longer used and will be removed in the next release. [docker/cli#5885](https://github.com/docker/cli/pull/5885)
81+
- Go-SDK: `cli/command`: deprecate `Cli.RegistryClient`. This method was only used internally and will be removed in the next release. Use [`client.NewRegistryClient`](https://pkg.go.dev/github.com/docker/[email protected]+incompatible/cli/registry/client#NewRegistryClient) instead. [docker/cli#5889](https://github.com/docker/cli/pull/5889), [docker/cli#5889](https://github.com/docker/cli/pull/5889)
82+
- Go-SDK: `registry`: Deprecate `RepositoryInfo.Official` field. [moby/moby#49567](https://github.com/moby/moby/pull/49567)
83+
- Go-SDK: `registry`: deprecate `HostCertsDir`: this function was only used internally and will be removed in the next release. [moby/moby#49612](https://github.com/moby/moby/pull/49612)
84+
- Go-SDK: `registry`: deprecate `SetCertsDir`: the cert-directory is now automatically selected when running with RootlessKit, and should no longer be set manually. [moby/moby#49612](https://github.com/moby/moby/pull/49612)
85+
2586
## 28.0.1
2687

2788
{{< release-date date="2025-02-26" >}}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
datafolder: buildx
3+
datafile: docker_buildx_history_import
4+
title: docker buildx history import
5+
layout: cli
6+
aliases:
7+
- /engine/reference/commandline/buildx_history_import/
8+
---
9+
10+
<!--
11+
This page is automatically generated from Docker's source code. If you want to
12+
suggest a change to the text that appears here, open a ticket or pull request
13+
in the source repository on GitHub:
14+
15+
https://github.com/docker/buildx
16+
-->

data/buildx/docker_buildx_bake.yaml

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -515,18 +515,22 @@ examples: |-
515515
```console
516516
$ docker buildx bake --set target.args.mybuildarg=value
517517
$ docker buildx bake --set target.platform=linux/arm64
518-
$ docker buildx bake --set foo*.args.mybuildarg=value # overrides build arg for all targets starting with 'foo'
519-
$ docker buildx bake --set *.platform=linux/arm64 # overrides platform for all targets
520-
$ docker buildx bake --set foo*.no-cache # bypass caching only for targets starting with 'foo'
518+
$ docker buildx bake --set foo*.args.mybuildarg=value # overrides build arg for all targets starting with 'foo'
519+
$ docker buildx bake --set *.platform=linux/arm64 # overrides platform for all targets
520+
$ docker buildx bake --set foo*.no-cache # bypass caching only for targets starting with 'foo'
521+
$ docker buildx bake --set target.platform+=linux/arm64 # appends 'linux/arm64' to the platform list
521522
```
522523
523524
You can override the following fields:
524525
526+
* `annotations`
527+
* `attest`
525528
* `args`
526529
* `cache-from`
527530
* `cache-to`
528531
* `context`
529532
* `dockerfile`
533+
* `entitlements`
530534
* `labels`
531535
* `load`
532536
* `no-cache`
@@ -539,6 +543,23 @@ examples: |-
539543
* `ssh`
540544
* `tags`
541545
* `target`
546+
547+
You can append using `+=` operator for the following fields:
548+
549+
* `annotations`¹
550+
* `attest`¹
551+
* `cache-from`
552+
* `cache-to`
553+
* `entitlements`¹
554+
* `no-cache-filter`
555+
* `output`
556+
* `platform`
557+
* `secrets`
558+
* `ssh`
559+
* `tags`
560+
561+
> [!NOTE]
562+
> ¹ These fields already append by default.
542563
deprecated: false
543564
hidden: false
544565
experimental: false

data/buildx/docker_buildx_history.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@ usage: docker buildx history
55
pname: docker buildx
66
plink: docker_buildx.yaml
77
cname:
8+
- docker buildx history import
89
- docker buildx history inspect
910
- docker buildx history logs
1011
- docker buildx history ls
1112
- docker buildx history open
1213
- docker buildx history rm
1314
- docker buildx history trace
1415
clink:
16+
- docker_buildx_history_import.yaml
1517
- docker_buildx_history_inspect.yaml
1618
- docker_buildx_history_logs.yaml
1719
- docker_buildx_history_ls.yaml
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
command: docker buildx history import
2+
short: Import a build into Docker Desktop
3+
long: Import a build into Docker Desktop
4+
usage: docker buildx history import [OPTIONS] < bundle.dockerbuild
5+
pname: docker buildx history
6+
plink: docker_buildx_history.yaml
7+
options:
8+
- option: file
9+
shorthand: f
10+
value_type: stringArray
11+
default_value: '[]'
12+
description: Import from a file path
13+
deprecated: false
14+
hidden: false
15+
experimental: false
16+
experimentalcli: false
17+
kubernetes: false
18+
swarm: false
19+
inherited_options:
20+
- option: builder
21+
value_type: string
22+
description: Override the configured builder instance
23+
deprecated: false
24+
hidden: false
25+
experimental: false
26+
experimentalcli: false
27+
kubernetes: false
28+
swarm: false
29+
- option: debug
30+
shorthand: D
31+
value_type: bool
32+
default_value: "false"
33+
description: Enable debug logging
34+
deprecated: false
35+
hidden: false
36+
experimental: false
37+
experimentalcli: false
38+
kubernetes: false
39+
swarm: false
40+
deprecated: false
41+
hidden: false
42+
experimental: false
43+
experimentalcli: false
44+
kubernetes: false
45+
swarm: false
46+

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/docker/docs
33
go 1.23.6
44

55
require (
6-
github.com/docker/buildx v0.21.3 // indirect
6+
github.com/docker/buildx v0.22.0 // indirect
77
github.com/docker/cli v28.0.1+incompatible // indirect
88
github.com/docker/compose/v2 v2.34.0 // indirect
99
github.com/docker/scout-cli v1.15.0 // indirect
@@ -12,7 +12,7 @@ require (
1212
)
1313

1414
replace (
15-
github.com/docker/buildx => github.com/docker/buildx v0.21.3
15+
github.com/docker/buildx => github.com/docker/buildx v0.22.0
1616
github.com/docker/cli => github.com/docker/cli v28.0.1+incompatible
1717
github.com/docker/compose/v2 => github.com/docker/compose/v2 v2.34.0
1818
github.com/docker/scout-cli => github.com/docker/scout-cli v1.15.0

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ github.com/docker/buildx v0.21.2 h1:r09paH8q9nvAX2PR1ntRrc+C6FBH93bvKUsn1WOb/jU=
100100
github.com/docker/buildx v0.21.2/go.mod h1:8V4UMnlKsaGYwz83BygmIbJIFEAYGHT6KAv8akDZmqo=
101101
github.com/docker/buildx v0.21.3 h1:LEmhk3D9WOboMeC+hlfOUnB1jylXcDfGHjqAL7Tvwks=
102102
github.com/docker/buildx v0.21.3/go.mod h1:8V4UMnlKsaGYwz83BygmIbJIFEAYGHT6KAv8akDZmqo=
103+
github.com/docker/buildx v0.22.0 h1:pGTcGZa+kxpYUlM/6ACsp1hXhkEDulz++RNXPdE8Afk=
104+
github.com/docker/buildx v0.22.0/go.mod h1:ThbnUe4kNiStlq6cLXruElyEdSTdPL3k/QerNUmPvHE=
103105
github.com/docker/cli v24.0.2+incompatible h1:QdqR7znue1mtkXIJ+ruQMGQhpw2JzMJLRXp6zpzF6tM=
104106
github.com/docker/cli v24.0.2+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8=
105107
github.com/docker/cli v24.0.4+incompatible h1:Y3bYF9ekNTm2VFz5U/0BlMdJy73D+Y1iAAZ8l63Ydzw=

0 commit comments

Comments
 (0)