Skip to content

Commit 55f63b9

Browse files
Merge pull request #22744 from docker/published-update
publish updates from main
2 parents 1e08fdf + 249ce85 commit 55f63b9

File tree

16 files changed

+153
-240
lines changed

16 files changed

+153
-240
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ jobs:
3636
files: |
3737
docker-bake.hcl
3838
targets: releaser-build
39-
set: |
40-
*.cache-from=type=gha,scope=releaser
41-
*.cache-to=type=gha,scope=releaser,mode=max
4239

4340
build:
4441
runs-on: ubuntu-24.04
@@ -59,9 +56,6 @@ jobs:
5956
files: |
6057
docker-bake.hcl
6158
targets: release
62-
set: |
63-
*.cache-from=type=gha,scope=build
64-
*.cache-to=type=gha,scope=build,mode=max
6559
-
6660
name: Check Cloudfront config
6761
uses: docker/bake-action@v6
@@ -110,6 +104,3 @@ jobs:
110104
targets: ${{ matrix.target }}
111105
set: |
112106
*.args.BUILDKIT_CONTEXT_KEEP_GIT_DIR=1
113-
*.cache-to=type=gha,scope=validate-${{ matrix.target }},mode=max
114-
*.cache-from=type=gha,scope=validate-${{ matrix.target }}
115-
*.cache-from=type=gha,scope=build

.github/workflows/deploy.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,6 @@ jobs:
9696
files: |
9797
docker-bake.hcl
9898
targets: release
99-
set: |
100-
*.cache-from=type=gha,scope=deploy-${{ env.BRANCH_NAME }}
101-
*.cache-to=type=gha,scope=deploy-${{ env.BRANCH_NAME }},mode=max
10299
provenance: false
103100
-
104101
name: Configure AWS Credentials
@@ -134,8 +131,6 @@ jobs:
134131
files: |
135132
docker-bake.hcl
136133
targets: aws-s3-update-config
137-
set: |
138-
*.cache-from=type=gha,scope=releaser
139134
env:
140135
AWS_REGION: ${{ env.DOCS_AWS_REGION }}
141136
AWS_S3_BUCKET: ${{ env.DOCS_S3_BUCKET }}

.github/workflows/validate-upstream.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,6 @@ jobs:
9797
docker-bake.hcl
9898
targets: validate-upstream
9999
provenance: false
100-
set: |
101-
*.cache-from=type=gha,scope=docs-upstream
102-
*.cache-to=type=gha,scope=docs-upstream
103100
env:
104101
UPSTREAM_MODULE_NAME: ${{ inputs.module-name }}
105102
UPSTREAM_REPO: ${{ github.repository }}

_vale/Docker/Acronyms.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ exceptions:
3838
- DCT
3939
- DEBUG
4040
- DHCP
41+
- DMR
4142
- DNS
4243
- DOM
4344
- DPI
@@ -85,8 +86,8 @@ exceptions:
8586
- LTS
8687
- MAC
8788
- MATE
88-
- MCP
8989
- mcp
90+
- MCP
9091
- MDM
9192
- MDN
9293
- MSI
@@ -105,8 +106,8 @@ exceptions:
105106
- PATH
106107
- PDF
107108
- PEM
108-
- PID
109109
- PHP
110+
- PID
110111
- POSIX
111112
- POST
112113
- QA

_vendor/modules.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
# github.com/docker/buildx v0.24.0
44
# github.com/docker/cli v28.2.1+incompatible
55
# github.com/docker/compose/v2 v2.36.2
6-
# github.com/docker/model-cli v0.1.25
6+
# github.com/docker/model-cli v0.1.26-0.20250527144806-15d0078a3c01
77
# github.com/docker/scout-cli v1.15.0

content/contribute/file-conventions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ following keys are supported. The title, description, and keywords are required.
3737
Here's an example of a valid (but contrived) page metadata. The order of
3838
the metadata elements in the front matter isn't important.
3939

40-
```liquid
40+
```text
4141
---
4242
description: Instructions for installing Docker Engine on Ubuntu
4343
keywords: requirements, apt, installation, ubuntu, install, uninstall, upgrade, update
@@ -70,7 +70,7 @@ Splitting long lines (preferably up to 80 characters) can make it easier to prov
7070
If you want to add an entry to the sidebar, but you want the link to point somewhere else, you can use the `sidebar.goto` parameter.
7171
This is useful in combination with `build.render` set to `always`, which creates a pageless entry in the sidebar that links to another page.
7272

73-
```md
73+
```text
7474
---
7575
title: Dummy sidebar link
7676
build:

content/manuals/ai/model-runner.md

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ params:
88
group: AI
99
weight: 20
1010
description: Learn how to use Docker Model Runner to manage and run AI models.
11-
keywords: Docker, ai, model runner, docker deskotp, llm
11+
keywords: Docker, ai, model runner, docker desktop, docker engine, llm
1212
aliases:
1313
- /desktop/features/model-runner/
1414
- /ai/model-runner/
@@ -45,6 +45,37 @@ Models are pulled from Docker Hub the first time they're used and stored locally
4545

4646
You can now use the `docker model` command in the CLI and view and interact with your local models in the **Models** tab in the Docker Desktop Dashboard.
4747

48+
### Enable DMR in Docker Engine
49+
50+
1. Ensure you have installed [Docker Engine](/engine/install/).
51+
2. DMR is available as a package. To install it, run:
52+
53+
{{< tabs >}}
54+
{{< tab name="Ubuntu/Debian">}}
55+
56+
```console
57+
$ sudo apt-get update
58+
$ sudo apt-get install docker-model-plugin
59+
```
60+
61+
{{< /tab >}}
62+
{{< tab name="RPM-base distributions">}}
63+
64+
```console
65+
$ sudo dnf update
66+
$ sudo dnf install docker-model-plugin
67+
```
68+
69+
{{< /tab >}}
70+
{{< /tabs >}}
71+
72+
3. Test the installation:
73+
74+
```console
75+
$ docker model version
76+
$ docker model run ai/smollm2
77+
```
78+
4879
## Integrate the Docker Model Runner into your software development lifecycle
4980

5081
You can now start building your Generative AI application powered by the Docker Model Runner.
@@ -143,6 +174,10 @@ To call the `chat/completions` OpenAI endpoint from the host via TCP:
143174

144175
1. Enable the host-side TCP support from the Docker Desktop GUI, or via the [Docker Desktop CLI](/manuals/desktop/features/desktop-cli.md).
145176
For example: `docker desktop enable model-runner --tcp <port>`.
177+
178+
If you are running on Windows, also enable GPU-backed inference.
179+
See [Enable Docker Model Runner](#enable-dmr-in-docker-desktop).
180+
146181
2. Interact with it as documented in the previous section using `localhost` and the correct port.
147182

148183
```bash

content/manuals/compose/releases/release-notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ aliases:
1313

1414
For more detailed information, see the [release notes in the Compose repo](https://github.com/docker/compose/releases/).
1515

16-
## 2.36.1
16+
## 2.36.2
1717

1818
{{< release-date date="2025-05-23" >}}
1919

content/manuals/engine/network/packet-filtering-firewalls.md

Lines changed: 45 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -150,15 +150,51 @@ But, particularly with IPv6 you may prefer to avoid using NAT and instead
150150
arrange for external routing to container addresses ("direct routing").
151151

152152
To access containers on a bridge network from outside the Docker host,
153-
you must set up routing to the bridge network via an address on the Docker
154-
host. This can be achieved using static routes, Border Gateway Protocol
155-
(BGP), or any other means appropriate for your network.
156-
157-
Within a local layer 2 network, remote hosts can set up static routes
158-
to a container network using the Docker daemon host's address on the local
159-
network. Those hosts can access containers directly. For remote hosts
160-
outside the local network, direct access to containers requires router
161-
configuration to enable the necessary routing.
153+
you must first set up routing to the bridge network via an address on the
154+
Docker host. This can be achieved using static routes, Border Gateway Protocol (BGP),
155+
or any other means appropriate for your network. For example, within
156+
a local layer 2 network, remote hosts can set up static routes to a container
157+
network via the Docker daemon host's address on the local network.
158+
159+
#### Direct routing to containers in bridge networks
160+
161+
By default, remote hosts are not allowed direct access to container IP
162+
addresses in Docker's Linux bridge networks. They can only access ports
163+
published to host IP addresses.
164+
165+
To allow direct access to any published port, on any container, in any
166+
Linux bridge network, use daemon option `"allow-direct-routing": true`
167+
in `/etc/docker/daemon.json` or the equivalent `--allow-direct-routing`.
168+
169+
To allow direct routing from anywhere to containers in a specific bridge
170+
network, see [Gateway modes](#gateway-modes).
171+
172+
Or, to allow direct routing via specific host interfaces, to a specific
173+
bridge network, use the following option when creating the network:
174+
- `com.docker.network.bridge.trusted_host_interfaces`
175+
176+
#### Example
177+
178+
Create a network where published ports on container IP addresses can be
179+
accessed directly from interfaces `vxlan.1` and `eth3`:
180+
181+
```console
182+
$ docker network create --subnet 192.0.2.0/24 --ip-range 192.0.2.0/29 -o com.docker.network.bridge.trusted_host_interfaces="vxlan.1:eth3" mynet
183+
```
184+
185+
Run a container in that network, publishing its port 80 to port 8080 on
186+
the host's loopback interface:
187+
188+
```console
189+
$ docker run -d --ip 192.0.2.100 -p 127.0.0.1:8080:80 nginx
190+
```
191+
192+
The web server running on the container's port 80 can now be accessed
193+
from the Docker host at `http://127.0.0.1:8080`, or directly at
194+
`http://192.0.2.100:80`. If remote hosts on networks connected to
195+
interfaces `vxlan.1` and `eth3` have a route to the `192.0.2.0/24`
196+
network inside the Docker host, they can also access the web server
197+
via `http://192.0.2.100:80`.
162198

163199
#### Gateway modes
164200

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ For a full list of pull requests and changes in this release, refer to the relev
8282

8383
### Networking
8484

85-
- Add bridge network option `"com.docker.network.bridge.trusted_host_interfaces"`, accepting a space-separated list of interface names. These interfaces have direct access to published ports on container IP addresses. [moby/moby#49832](https://github.com/moby/moby/pull/49832)
85+
- Add bridge network option `"com.docker.network.bridge.trusted_host_interfaces"`, accepting a colon-separated list of interface names. These interfaces have direct access to published ports on container IP addresses. [moby/moby#49832](https://github.com/moby/moby/pull/49832)
8686
- Add daemon option `"allow-direct-routing"` to disable filtering of packets from outside the host addressed directly to containers. [moby/moby#49832](https://github.com/moby/moby/pull/49832)
8787
- Do not display network options `com.docker.network.enable_ipv4` or `com.docker.network.enable_ipv6` in inspect output if they have been overridden by `EnableIPv4` or `EnableIPv6` in the network create request. [moby/moby#49866](https://github.com/moby/moby/pull/49866)
8888
- Fix an issue that could cause network deletion to fail after a daemon restart, with error "has active endpoints" listing empty endpoint names. [moby/moby#49901](https://github.com/moby/moby/pull/49901)

0 commit comments

Comments
 (0)