From 53929ac491658d58d4e3ba9c6102154914c95064 Mon Sep 17 00:00:00 2001 From: Leo Conforti Date: Fri, 18 Oct 2024 17:54:29 -0500 Subject: [PATCH 1/4] Update _index.md --- content/reference/api/engine/sdk/_index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/reference/api/engine/sdk/_index.md b/content/reference/api/engine/sdk/_index.md index 731b9a6f5553..902d8447aee5 100644 --- a/content/reference/api/engine/sdk/_index.md +++ b/content/reference/api/engine/sdk/_index.md @@ -202,6 +202,7 @@ file them with the library maintainers. | Java | [jocker](https://github.com/ndeloof/jocker) | | NodeJS | [dockerode](https://github.com/apocas/dockerode) | | NodeJS | [harbor-master](https://github.com/arhea/harbor-master) | +| NodeJS | [the-moby-effect](https://github.com/leonitousconforti/the-moby-effect) | | Perl | [Eixo::Docker](https://github.com/alambike/eixo-docker) | | PHP | [Docker-PHP](https://github.com/docker-php/docker-php) | | Ruby | [docker-api](https://github.com/swipely/docker-api) | From 54e4ef5e68026d4aaabdff12019d43465634a552 Mon Sep 17 00:00:00 2001 From: Gerardo Lopez Date: Wed, 23 Oct 2024 09:09:59 -0600 Subject: [PATCH 2/4] add java 21 --- content/guides/java/containerize.md | 6 +++--- content/guides/java/develop.md | 4 ++-- content/guides/java/run-tests.md | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/content/guides/java/containerize.md b/content/guides/java/containerize.md index c4c69e2a917a..b6eb64f61c28 100644 --- a/content/guides/java/containerize.md +++ b/content/guides/java/containerize.md @@ -68,7 +68,7 @@ WARNING: The following Docker files already exist in this directory: ? Do you want to overwrite them? Yes ? What application platform does your project use? Java ? What's the relative directory (with a leading .) for your app? ./src -? What version of Java do you want to use? 17 +? What version of Java do you want to use? 21 ? What port does your server listen on? 8080 ``` @@ -98,7 +98,7 @@ Create a file named `Dockerfile` with the following contents. ################################################################################ # Create a stage for resolving and downloading dependencies. -FROM eclipse-temurin:17-jdk-jammy as deps +FROM eclipse-temurin:21-jre-jammy as deps WORKDIR /build @@ -155,7 +155,7 @@ RUN java -Djarmode=layertools -jar target/app.jar extract --destination target/e # most recent version of that tag when you build your Dockerfile. # If reproducability is important, consider using a specific digest SHA, like # eclipse-temurin@sha256:99cede493dfd88720b610eb8077c8688d3cca50003d76d1d539b0efc8cca72b4. -FROM eclipse-temurin:17-jre-jammy AS final +FROM eclipse-temurin:21-jre-jammy AS final # Create a non-privileged user that the app will run under. # See https://docs.docker.com/go/dockerfile-user-best-practices/ diff --git a/content/guides/java/develop.md b/content/guides/java/develop.md index f66aa8302966..e3cee724fe9f 100644 --- a/content/guides/java/develop.md +++ b/content/guides/java/develop.md @@ -121,7 +121,7 @@ Replace the contents of your Dockerfile with the following. ```dockerfile {hl_lines="22-29"} # syntax=docker/dockerfile:1 -FROM eclipse-temurin:17-jdk-jammy as deps +FROM eclipse-temurin:21-jdk-jammy as deps WORKDIR /build COPY --chmod=0755 mvnw mvnw COPY .mvn/ .mvn/ @@ -149,7 +149,7 @@ RUN cp -r /build/target/extracted/application/. ./ ENV JAVA_TOOL_OPTIONS -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:8000 CMD [ "java", "-Dspring.profiles.active=postgres", "org.springframework.boot.loader.launch.JarLauncher" ] -FROM eclipse-temurin:17-jre-jammy AS final +FROM eclipse-temurin:21-jre-jammy AS final ARG UID=10001 RUN adduser \ --disabled-password \ diff --git a/content/guides/java/run-tests.md b/content/guides/java/run-tests.md index 44cc87be1802..e1d26c961c1b 100644 --- a/content/guides/java/run-tests.md +++ b/content/guides/java/run-tests.md @@ -25,7 +25,7 @@ Replace the contents of your Dockerfile with the following. ```dockerfile {hl_lines="3-19"} # syntax=docker/dockerfile:1 -FROM eclipse-temurin:17-jdk-jammy as base +FROM eclipse-temurin:21-jdk-jammy as base WORKDIR /build COPY --chmod=0755 mvnw mvnw COPY .mvn/ .mvn/ @@ -64,7 +64,7 @@ RUN cp -r /build/target/extracted/application/. ./ ENV JAVA_TOOL_OPTIONS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:8000" CMD [ "java", "-Dspring.profiles.active=postgres", "org.springframework.boot.loader.launch.JarLauncher" ] -FROM eclipse-temurin:17-jre-jammy AS final +FROM eclipse-temurin:21-jre-jammy AS final ARG UID=10001 RUN adduser \ --disabled-password \ From bce2b8bb3015f90e502e8faf678a90ed5bbf390f Mon Sep 17 00:00:00 2001 From: Arie Heinrich Date: Fri, 25 Oct 2024 06:35:47 +0200 Subject: [PATCH 3/4] Additional Spelling corrections (#21237) Second wave of spelling that were not included in wave 1 --- .../manuals/desktop/previous-versions/3.x-windows.md | 2 +- .../desktop/previous-versions/edge-releases-mac.md | 2 +- content/manuals/engine/release-notes/18.06.md | 12 ++++++------ content/manuals/engine/release-notes/18.09.md | 2 +- content/manuals/engine/release-notes/19.03.md | 2 +- content/manuals/engine/release-notes/27.md | 2 +- .../manuals/engine/release-notes/prior-releases.md | 2 +- .../build/backend-extension-tutorial.md | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/content/manuals/desktop/previous-versions/3.x-windows.md b/content/manuals/desktop/previous-versions/3.x-windows.md index 560a98982e6c..861b1b88ec4d 100644 --- a/content/manuals/desktop/previous-versions/3.x-windows.md +++ b/content/manuals/desktop/previous-versions/3.x-windows.md @@ -43,7 +43,7 @@ This page contains release notes for Docker Desktop for Windows 3.x. - Fixed a bug where the DNS server would fail after receiving an unexpectedly large datagram. - Fixed spurious traces on iptables updates. - Fixed slowness when adding multiple ports forwarding option. -- Fixed bug where the WSL 2 synchonization code creates dangling symlinks if the WSL 2 home directory if it is the same as the Windows home directory. Fixes [docker/for-win#11668](https://github.com/docker/for-win/issues/11668). +- Fixed bug where the WSL 2 synchronization code creates dangling symlinks if the WSL 2 home directory if it is the same as the Windows home directory. Fixes [docker/for-win#11668](https://github.com/docker/for-win/issues/11668). - Fixed `docker context ls` after upgrade from 3.5.x when the Linux WSL 2 home directory is the same as the Windows home directory. - Fixed the permissions on `%PROGRAMDATA%\Docker` to avoid a potential Windows containers compromise. See [CVE-2021-37841](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-37841). Thanks to [Alessio Dalla Piazza](http://it.linkedin.com/in/alessiodallapiazza) for discovering the issue and to @kevpar for helpful discussion. - Fixed bug where the Linux home directory under WSL 2 was set to the Windows home directory e.g. `/mnt/c/Users/...`. diff --git a/content/manuals/desktop/previous-versions/edge-releases-mac.md b/content/manuals/desktop/previous-versions/edge-releases-mac.md index c02a41459952..0a17922e4752 100644 --- a/content/manuals/desktop/previous-versions/edge-releases-mac.md +++ b/content/manuals/desktop/previous-versions/edge-releases-mac.md @@ -913,7 +913,7 @@ This release contains a Kubernetes upgrade. Note that your local Kubernetes clus - Avoid hitting DNS timeouts when querying docker.for.mac.* when the upstream DNS servers are slow or missing. - Fix for `docker push` to an insecure registry. Fixes [docker/for-mac#2392](https://github.com/docker/for-mac/issues/2392) - Separate internal ports used to proxy HTTP and HTTPS content. - - If kubectl was already installed before Docker For Mac, restore the existing kubectl when sitching Kubernetes off in Docker for Mac. + - If kubectl was already installed before Docker For Mac, restore the existing kubectl when switching Kubernetes off in Docker for Mac. - Migration of Docker Toolbox images is not proposed anymore in Docker For Mac installer (still possible to migrate Toolbox images manually). diff --git a/content/manuals/engine/release-notes/18.06.md b/content/manuals/engine/release-notes/18.06.md index b9e6c38f4589..4a73c8ba594d 100644 --- a/content/manuals/engine/release-notes/18.06.md +++ b/content/manuals/engine/release-notes/18.06.md @@ -136,12 +136,12 @@ toc_max: 2 ### Networking * Allow user to specify default address pools for docker networks. [moby/moby#36396](https://github.com/moby/moby/pull/36396) [docker/cli#818](https://github.com/docker/cli/pull/818) -* Adding logs for ipam state [doccker/libnetwork#2417](https://github.com/docker/libnetwork/pull/2147) -* Fix race conditions in the overlay network driver [doccker/libnetwork#2143](https://github.com/docker/libnetwork/pull/2143) -* Add wait time into xtables lock warning [doccker/libnetwork#2142](https://github.com/docker/libnetwork/pull/2142) -* filter xtables lock warnings when firewalld is active [doccker/libnetwork#2135](https://github.com/docker/libnetwork/pull/2135) -* Switch from x/net/context to context [doccker/libnetwork#2140](https://github.com/docker/libnetwork/pull/2140) -* Adding a recovery mechanism for a split gossip cluster [doccker/libnetwork#2134](https://github.com/docker/libnetwork/pull/2134) +* Adding logs for ipam state [docker/libnetwork#2417](https://github.com/docker/libnetwork/pull/2147) +* Fix race conditions in the overlay network driver [docker/libnetwork#2143](https://github.com/docker/libnetwork/pull/2143) +* Add wait time into xtables lock warning [docker/libnetwork#2142](https://github.com/docker/libnetwork/pull/2142) +* filter xtables lock warnings when firewalld is active [docker/libnetwork#2135](https://github.com/docker/libnetwork/pull/2135) +* Switch from x/net/context to context [docker/libnetwork#2140](https://github.com/docker/libnetwork/pull/2140) +* Adding a recovery mechanism for a split gossip cluster [docker/libnetwork#2134](https://github.com/docker/libnetwork/pull/2134) * Running docker inspect on network attachment tasks now returns a full task object. [moby/moby#35246](https://github.com/moby/moby/pull/35246) * Some container/network cleanups. [moby/moby#37033](https://github.com/moby/moby/pull/37033) - Fix network inspect for overlay network. [moby/moby#37045](https://github.com/moby/moby/pull/37045) diff --git a/content/manuals/engine/release-notes/18.09.md b/content/manuals/engine/release-notes/18.09.md index 22a7d06d262f..535bcc3ad626 100644 --- a/content/manuals/engine/release-notes/18.09.md +++ b/content/manuals/engine/release-notes/18.09.md @@ -172,7 +172,7 @@ toc_max: 2 * Modified names in the container name generator. [docker/engine#159](https://github.com/docker/engine/pull/159) * When copying an existing folder, xattr set errors when the target filesystem doesn't support xattr are now ignored. [docker/engine#135](https://github.com/docker/engine/pull/135) * Graphdriver: fixed "device" mode not being detected if "character-device" bit is set. [docker/engine#160](https://github.com/docker/engine/pull/160) -* Fixed nil pointer derefence on failure to connect to containerd. [docker/engine#162](https://github.com/docker/engine/pull/162) +* Fixed nil pointer dereference on failure to connect to containerd. [docker/engine#162](https://github.com/docker/engine/pull/162) * Deleted stale containerd object on start failure. [docker/engine#154](https://github.com/docker/engine/pull/154) ### Known Issues diff --git a/content/manuals/engine/release-notes/19.03.md b/content/manuals/engine/release-notes/19.03.md index 4df1b0e0bb46..33b240fb10c4 100644 --- a/content/manuals/engine/release-notes/19.03.md +++ b/content/manuals/engine/release-notes/19.03.md @@ -37,7 +37,7 @@ toc_max: 2 ### Runtime -- Return correct errors instead of spurrious -EINVAL [moby/moby#41293](https://github.com/moby/moby/pull/41293) +- Return correct errors instead of spurious -EINVAL [moby/moby#41293](https://github.com/moby/moby/pull/41293) ### Rootless diff --git a/content/manuals/engine/release-notes/27.md b/content/manuals/engine/release-notes/27.md index 5cacc29b5237..3143c0d2aeae 100644 --- a/content/manuals/engine/release-notes/27.md +++ b/content/manuals/engine/release-notes/27.md @@ -350,7 +350,7 @@ For a full list of pull requests and changes in this release, refer to the relev - Starting in this release, when a bridge network is created with `--ipv6` and no IPv6 subnet is defined by those options, an IPv6 Unique Local Address (ULA) base prefix is used. - The ULA prefix is derived from the Engine host ID such that it's unique across hosts and over time. - IPv6 address pools of any size can now be added to `default-address-pools`. [moby/moby#47768](https://github.com/moby/moby/pull/47768) -- IPv6 can now be enabled by default on all custom bridge networks using `"default-network-opts": { "bridge": {"com.docker.network.enable_ipv6": "true"}}` in `daemon.json`, or `dockerd --default-network-opt=bridge=com.docker.network.enable_ipv6=true`on the comand line. [moby/moby#47867](https://github.com/moby/moby/pull/47867) +- IPv6 can now be enabled by default on all custom bridge networks using `"default-network-opts": { "bridge": {"com.docker.network.enable_ipv6": "true"}}` in `daemon.json`, or `dockerd --default-network-opt=bridge=com.docker.network.enable_ipv6=true`on the command line. [moby/moby#47867](https://github.com/moby/moby/pull/47867) - Direct routing for IPv6 networks, with `ip6tables` enabled. [moby/moby#47871](https://github.com/moby/moby/pull/47871) - Added bridge driver option `com.docker.network.bridge.gateway_mode_ipv6=`. - The default behavior, `nat`, is unchanged from previous releases running with `ip6tables` enabled. NAT and masquerading rules are set up for each published container port. diff --git a/content/manuals/engine/release-notes/prior-releases.md b/content/manuals/engine/release-notes/prior-releases.md index 3e9e5cc81920..5ed930e7f62d 100644 --- a/content/manuals/engine/release-notes/prior-releases.md +++ b/content/manuals/engine/release-notes/prior-releases.md @@ -852,7 +852,7 @@ installing docker, make sure to update them accordingly. - Prevent `docker run -i --restart` from hanging on exit [#22777](https://github.com/docker/docker/pull/22777) - Fix API/CLI discrepancy on hostname validation [#21641](https://github.com/docker/docker/pull/21641) - Fix discrepancy in the format of sizes in `stats` from HumanSize to BytesSize [#21773](https://github.com/docker/docker/pull/21773) -- authz: when request is denied return forbbiden exit code (403) [#22448](https://github.com/docker/docker/pull/22448) +- authz: when request is denied return forbidden exit code (403) [#22448](https://github.com/docker/docker/pull/22448) - Windows: fix tty-related displaying issues [#23878](https://github.com/docker/docker/pull/23878) ### Runtime diff --git a/content/manuals/extensions/extensions-sdk/build/backend-extension-tutorial.md b/content/manuals/extensions/extensions-sdk/build/backend-extension-tutorial.md index 8f9126c564c0..137464b4a231 100644 --- a/content/manuals/extensions/extensions-sdk/build/backend-extension-tutorial.md +++ b/content/manuals/extensions/extensions-sdk/build/backend-extension-tutorial.md @@ -282,7 +282,7 @@ Replace the `ui/src/App.tsx` file with the following code: import React, { useEffect } from 'react'; import { createDockerDesktopClient } from "@docker/extension-api-client"; -//obtain docker destkop extension client +//obtain docker desktop extension client const ddClient = createDockerDesktopClient(); export function App() { From 001c8bc1b7cbbb599d6840a9f00bd8c36db15ede Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Gronowski?= Date: Fri, 25 Oct 2024 10:38:56 +0200 Subject: [PATCH 4/4] Docker Desktop 4.35 release notes fixes (#21243) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description See commits ## Related issues or tickets ## Reviews - [x] Technical review - [ ] Editorial review - [ ] Product review --------- Signed-off-by: Paweł Gronowski --- content/manuals/desktop/release-notes.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/content/manuals/desktop/release-notes.md b/content/manuals/desktop/release-notes.md index 06cf65edaa11..73137b060096 100644 --- a/content/manuals/desktop/release-notes.md +++ b/content/manuals/desktop/release-notes.md @@ -34,9 +34,6 @@ Take a look at the [Docker Public Roadmap](https://github.com/orgs/docker/projec - Support for [Docker Desktop on Red Hat Enterprise Linux](/manuals/desktop/install/linux/rhel.md) is now generally available. - Volume Backup and Share is now generally available and can be found in the **Volumes** view. - Terminal support within Docker Desktop using system shells is now generally available. -- containerd image store: - - Improved output of `docker image inspect` to account for multi-platform images. - - Support multi-platform images via enabling users to pick a specific platform in `docker history`. - Beta release of Docker VMM - the more performant alternative to Apple Virtualization Framework on macOS (requires Apple Silicon and macOS 12.5 or later). ### Upgrades @@ -44,7 +41,7 @@ Take a look at the [Docker Public Roadmap](https://github.com/orgs/docker/projec - [containerd v1.7.21](https://github.com/containerd/containerd/releases/tag/v1.7.21) - [Docker Buildx v0.17.1](https://github.com/docker/buildx/releases/tag/v0.17.1) - [Docker Compose v2.29.7](https://github.com/docker/compose/releases/tag/v2.29.7) -- [Docker Engine v27.3.1](https://docs.docker.com/engine/release-notes/27.3/#2731) +- [Docker Engine v27.3.1](https://docs.docker.com/engine/release-notes/27/#2731) - [Docker Scout CLI v1.14.0](https://github.com/docker/scout-cli/releases/tag/v1.14.0) - Docker Debug `v0.0.37` - Linux kernel `v6.10.9`